On 2022/07/25 23:41, [email protected] wrote:
> >Description:
> This change adds the \% argument to the ksh process of the prompt.  This will
> cause the current rdomain of the shell to be displayed in the prompt.  This
> can be quite helpful when bouncing around between different rdomains.

I'm not convinced that stacking more non-standard features in shell
prompt handling to show the rtable (note, not rdomain) is the best idea.
And I don't think it's going to change during the lifetime of a shell is
it?

Could your profile/kshrc set up the prompt based on the current
rtable at the time PS1 is set instead? It's not entirely straightforward,
but these chicken scratches will show the table used by the current shell:

ps -o rtable= -p $$

Reply via email to