.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-01-11 21:27:06 +01:00
parent 8af2a60b74
commit 3a70d88158

View file

@ -10,7 +10,7 @@ if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
"%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}"
fi
printf '%s%s%s%s%s:%s%s%s ' \
"%(?.%{${fg[green]}%}^_^.%{${fg[red]}%})%B" "%b%{${fg[default]}%}T_T" \
printf '%s%s%s%s:%s%s%s ' \
"%%B(?.%{${fg[green]}%}^_^.%{${fg[red]}%}T_T)%b%{${fg[default]}%}" \
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
"%{${fg[green]}%}" "%~" "%{${fg[default]}%}"