.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]}%}" "%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}"
fi fi
printf '%s%s%s%s%s:%s%s%s ' \ printf '%s%s%s%s:%s%s%s ' \
"%(?.%{${fg[green]}%}^_^.%{${fg[red]}%})%B" "%b%{${fg[default]}%}T_T" \ "%%B(?.%{${fg[green]}%}^_^.%{${fg[red]}%}T_T)%b%{${fg[default]}%}" \
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \ "%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
"%{${fg[green]}%}" "%~" "%{${fg[default]}%}" "%{${fg[green]}%}" "%~" "%{${fg[default]}%}"