Chris Sutcliffe dixit:

>Thanks for the offer, below is my ps1 prompt based on the latest
>dot.mkshrc example where I'm trying to change the return code to red:

OK, we can do this even without uu as it contains no magic chars.

Use something like this:

        (( e )) && REPLY+=$'\1\e[31m\1'"$e|"$'\1\e[0m\1'

Maybe \e[1;31m for bold red…

bye,
//mirabilos
-- 
[ Natureshadow über meine Tendenz, seine IRL-Aussprüche zu siggen ]
(er) „Du bist besser als Twitter“
(ich) „Wieso? Weil ich das Wichtige herausfiltere?“
(er) „Und weil Du einfacher zu bedienen bist“

Reply via email to