.zsh/functions/prompt

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

View file

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