Re: Add current rtable to PS1

2019-04-05 Thread Henry Bonath
Pierre - thanks again, this is hugely helpful! I just wanted to add to this for everyone here, plus for (perhaps my own) future Google search reference: In order to get KSH to evaluate the "id -R" each time I had to use single quotes. When using double-quotes id -R is evaluated only once, and

Re: Add current rtable to PS1

2019-04-02 Thread Henry Bonath
Pierre, you have my thanks as well!! On Tue, Apr 2, 2019 at 6:00 PM Tom Smyth wrote: > Pierre, Henry > thanks for that I have wanted this on my systems for a while > Cheers for asking and answering this one > > > On Tue, 2 Apr 2019 at 22:21, Pierre Emeriaud > wrote: > > > > Le mar. 2 avr.

Re: Add current rtable to PS1

2019-04-02 Thread Tom Smyth
Pierre, Henry thanks for that I have wanted this on my systems for a while Cheers for asking and answering this one On Tue, 2 Apr 2019 at 22:21, Pierre Emeriaud wrote: > > Le mar. 2 avr. 2019 à 23:00, Henry Bonath a écrit : > > > > Hello, > > Does anyone have any suggestions as to how to

Re: Add current rtable to PS1

2019-04-02 Thread Pierre Emeriaud
Le mar. 2 avr. 2019 à 23:00, Henry Bonath a écrit : > > Hello, > Does anyone have any suggestions as to how to add the current rtable to the > $PS1 prompt? > > I tend to flip back and forth between routing domains and tend to lose track > of which rdomain I am currently using. > > I've been

Add current rtable to PS1

2019-04-02 Thread Henry Bonath
Hello, Does anyone have any suggestions as to how to add the current rtable to the $PS1 prompt? I tend to flip back and forth between routing domains and tend to lose track of which rdomain I am currently using. I've been attempting an approach by trying to run 'ps -aux -o rtable' and using some