From 2693c2993c7b07d8c1cc731a73a57112a4dd075f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 23 Apr 2023 15:32:29 +0200 Subject: Fix(hm/conf/zsh/prompt): Ignore some errors --- home-manager/config/zsh/config/zsh-prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home-manager') 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]="") .) -- cgit 1.4.1