[TUHS] shell PS1/PS2 which survive cut-paste

Kurt H Maier khm at sciops.net
Wed Dec 6 11:28:24 AEST 2017


On Wed, Dec 06, 2017 at 11:22:52AM +1000, George Michaelson wrote:
> I tried a long time ago to set PS1 and PS2 to character sequences
> which would permit cut-paste to work. I failed, but I didn't try very
> hard.

I've used :; and ::; to good effect. Since : is a no-op, it just inserts
noise into the history.

khm



More information about the TUHS mailing list