.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-02-11 10:43:19 +01:00
parent 14b420c99e
commit da4f346c67

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]}%}"