.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-05-17 16:21:23 +02:00
parent ce7f706cf8
commit 1335679b10

View file

@ -13,3 +13,5 @@ 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]}%}"
printf "$(/home/slash/code/projects/ps1time/src/baps1)"