.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-02-11 10:42:36 +01:00
parent 297d692457
commit 14b420c99e

View file

@ -15,6 +15,6 @@ if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
"%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}" "%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}"
fi 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[default]}%}" "%(?.%{${fg[green]}%}.%{${fg[red]}%})" "%~" "%{${fg[default]}%}"