commit 2beca7cba055dabe8cc125c85675617e1704b65a
parent 6af6a4bb5eee6c6de0e0cc293d8656e8aed097a9
Author: spacehobo <spacehobo@web>
Date: Fri, 15 May 2026 08:32:18 +0200
Always bold the $/#
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spacehobo.mdwn b/spacehobo.mdwn
@@ -13,7 +13,7 @@ GIT_PS1_SHOWUPSTREAM='auto'
_noop[0]='array accesses turn 0/nonzero into defined/undef!'
declare -A _session
_session["tty"]='array accesses turn tty/* into defined/undef!'
-PS1='\[\e[$(($?==0?1:5));$(($?==0?0:91))m\]\$\[\e[0m\] ' # $?-coloured $
+PS1='\[\e[$(($?==0?0:91));$(($?==0?1:5))m\]\$\[\e[0m\] ' # $?-coloured $
PS1='$(__git_ps1 "\[\e[1;33m\]{%s\[\e[1;33m\]}")'$PS1 # Gold git
PS1='\[\e[1;34m\]\w'$PS1 # Blue CWD
PS1='${SSH_CONNECTION:+\[\e[1;32m\]\h\[\e[1;33m\]:}'$PS1 # Green hostname, gold :