summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 0bd9324..cca86ca 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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) '