about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-23 15:32:29 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:31:54 +0200
commit2693c2993c7b07d8c1cc731a73a57112a4dd075f (patch)
treed9998c866fbba8779842006f641612a99f7ed2c2 /home-manager
parentStyle(treewide): Format (diff)
downloadnixos-config-2693c2993c7b07d8c1cc731a73a57112a4dd075f.zip
Fix(hm/conf/zsh/prompt): Ignore some errors
Diffstat (limited to 'home-manager')
-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]="") .)