updated prompt

This commit is contained in:
koehr 2017-11-24 21:31:36 +01:00
parent 9dd07c3894
commit 2a94b1e360

View file

@ -69,7 +69,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY="$CC_WRITE_IN_RED✘"
ZSH_THEME_GIT_PROMPT_CLEAN="$CC_WRITE_IN_GREEN" ZSH_THEME_GIT_PROMPT_CLEAN="$CC_WRITE_IN_GREEN"
CC_CURRENT_PATH="%1~" CC_CURRENT_PATH="%1~"
CC_HOSTNAME=`hostname -s` CC_HOSTNAME=`hostname`
if [ "$CC_HOSTNAME" = 'koehr' ]; then if [ "$CC_HOSTNAME" = 'koehr' ]; then
CC_HOSTNAME=$CC_SYMBOL_SERVER CC_HOSTNAME=$CC_SYMBOL_SERVER
@ -79,8 +79,8 @@ if [ "$CC_HOSTNAME" = 'HERENK' ]; then
CC_HOSTNAME=$CC_SYMBOL_WORK CC_HOSTNAME=$CC_SYMBOL_WORK
fi fi
if [ "$CC_HOSTNAME" = 'iza' ]; then if [ "$CC_HOSTNAME" = 'liz' ]; then
CC_HOSTNAME=$CC_SYMBOL_HOME CC_HOSTNAME=""
fi fi
RPROMPT='$(git_prompt_info)'"$CC_CRPROMPT $(_collapsed_path)%{$reset_color%}" RPROMPT='$(git_prompt_info)'"$CC_CRPROMPT $(_collapsed_path)%{$reset_color%}"