thanks. hah. I knew it. forget the previous mail. Consider it just an academical discussion ;-)
cheers, pg On Fri, Nov 14, 2014 at 6:04 PM, Greg Wooledge <wool...@eeg.ccf.org> wrote: > On Fri, Nov 14, 2014 at 06:01:37PM +0100, Piotr Grzybowski wrote: >> I would like to propose a patch, that allows to use \o in prompt: >> >> $ PS1="(\o)\u@\h \w $ " >> (himBH)merlin@xxxx ~/bash $ set +hm >> (iBH)merlin@xxxx ~/bash $ >> >> \o gets replaced by all options that are on and visible via set -o. > > PS1='($-)\u@\h \w \$ '