From ecf2e02bb5f1d9ba66a4e829bc39a512c9f07c0f Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 11 Jan 2012 22:12:01 +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 54bc73f..a474679 100644 --- a/.zsh/functions/prompt +++ b/.zsh/functions/prompt @@ -4,10 +4,10 @@ local pac_cnt=$(get_cnt updates) local aur_cnt=$(get_cnt aur) local hostname=$(hostname | cut -d . -f 1) -printf "%s" \ +printf "%s " \ "%B%(?.%{${fg[green]}%}^_^.%{${fg[red]}%}T_T)%b%{${fg[default]}%}" line 4 15 -printf "%s" "$(date +%Y%m%d%H.%M)" +printf " %s " "$(date +%Y%m%d%H.%M)" if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then printf "%s%d%s/%s%d%s:" \ -- cgit v1.2.3-54-g00ecf