about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/zsh/config/zsh-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/config/zsh/config/zsh-prompt.sh b/home-manager/config/zsh/config/zsh-prompt.sh
index 1f0f164b..1af12443 100644
--- a/home-manager/config/zsh/config/zsh-prompt.sh
+++ b/home-manager/config/zsh/config/zsh-prompt.sh
@@ -54,7 +54,7 @@ blue="14"
 red="9"
 white="15"
 setopt PROMPT_SUBST
-export PROMPT='%(?.%F{$blue}.%F{$red})%B%3~%(!. %F{$red}as root %f. )%F{$white}$(if [ -n $PROMPT_TMP_DIR ];then cat $PROMPT_TMP_DIR; rm $PROMPT_TMP_DIR;fi)%f%(?.%F{$blue}.%F{$red})%F{$red}$(_command_ro_precmd)%F{$blue}❯ %b%f'
+export PROMPT='%(?.%F{$blue}.%F{$red})%B%3~%(!. %F{$red}as root %f. )%F{$white}$(if [ -n $PROMPT_TMP_DIR ];then cat $PROMPT_TMP_DIR 2>/dev/null; rm $PROMPT_TMP_DIR 2>/dev/null;fi)%f%(?.%F{$blue}.%F{$red})%F{$red}$(_command_ro_precmd)%F{$blue}❯ %b%f'
 export RPROMPT=''
 
 #%(2V.%F{$red}%2v%f$(export psvar[2]="") .)