diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -214,7 +214,7 @@ parse_git_branch() { } # necessary if you want to use functions in the prompt # without this they wouldn't be run again -precmd () { +#precmd () { # this has to be on the edge or you have some spaces in the prompt # if you have any workaround please tell if [[ $UID != 0 ]]; then @@ -227,9 +227,9 @@ local path_color=$p_BLUE local gitbranch_color=$p_magenta local exitcode_color=$p_red PROMPT="${username_color}$USERNAME${p_nc}@${host_color}%m${p_nc}\ - ${path_color}%~${p_nc} ${gitbranch_color}$(parse_git_branch)${p_nc} + ${path_color}%~${p_nc} ${gitbranch_color}"'$(parse_git_branch)'"${p_nc} ${exitcode_color}$EXITCODE${p_nc}> " -} +#} ## Spelling prompt SPROMPT='zsh: correct '%R' to '%r' ? ([Y]es/[N]o/[E]dit/[A]bort) ' |