Hi,

Finally, I just decided to simplify my prompt. I also decided to use
multi-lines syntax (without fork because I'm using R44) since it's more
readable.
Here the result:

PS1=$'\a\r\a\e[1;34m\a─┬─| \a\e[1;36m\a${USER:=$(ulimit -c 0; id -un
2>/dev/null)}\a\e[1;34m\a |──| \a\e[0;33m\a${
        local e=$? d=${PWD:-?} p=~
        [[ $p = ?(*/) ]] || d=${d/#$p/~}
        print -nr -- "$d"
        return $e
        }\a\e[1;34m\a |\n └──>>\a\e[0m\a '

Once again, thanks a lot.
See ya on IRC.

Best Regards

--
H.Moretto

Reply via email to