diff options
author | Soispha <soispha@vhack.eu> | 2023-04-23 15:32:29 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:31:54 +0200 |
commit | 2693c2993c7b07d8c1cc731a73a57112a4dd075f (patch) | |
tree | d9998c866fbba8779842006f641612a99f7ed2c2 /home-manager | |
parent | Style(treewide): Format (diff) | |
download | nixos-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.sh | 2 |
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]="") .) |