From 3a70d881584028bae34cbe4afb68bdc32a9a47f9 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 11 Jan 2012 21:27:06 +0100 Subject: .zsh/functions/prompt --- .zsh/functions/prompt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zsh/functions') diff --git a/.zsh/functions/prompt b/.zsh/functions/prompt index 8b87b55..74d47c7 100644 --- a/.zsh/functions/prompt +++ b/.zsh/functions/prompt @@ -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]}%}" -- cgit v1.2.3-54-g00ecf