.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-02-11 10:40:10 +01:00
parent 077eec9732
commit 7ddb26b590

View file

@ -17,4 +17,5 @@ fi
printf '%s %s%s%s:%s%s%s ' \
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
"%{${fg[green]}%}" "%~" "%{${fg[default]}%}"
"%(?.%{${fg[green]}%}.%{${fg[red]}%})" "%~" \
"%{${fg[default]}%}"