zsh: Embolden the error indicator

This commit is contained in:
Salt 2018-08-23 12:05:07 -05:00
parent bf9365e30c
commit 49daa6098d

View File

@ -2,13 +2,12 @@ if [[ -f "/etc/profile" ]]; then
source /etc/profile 2>& /dev/null source /etc/profile 2>& /dev/null
fi fi
export LANG="en_US.UTF-8" # General options
DEFAULT_USER=salt DEFAULT_USER=salt
HISTFILE=~/.histfile HISTFILE=~/.histfile
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=1000
export LANG="en_US.UTF-8"
setopt appendhistory autocd extendedglob nomatch setopt appendhistory autocd extendedglob nomatch
unsetopt beep notify unsetopt beep notify
bindkey -e bindkey -e
@ -32,7 +31,7 @@ if [ "$SSH_CLIENT" = "" ]; then
else else
PROMPT="[%F{red}%B%m%b:%~" PROMPT="[%F{red}%B%m%b:%~"
fi fi
PROMPT="$PROMPT%f]%(0?..%F{red}?%f)%(!.%F{red}#%f.%F{green}$%f) " PROMPT="$PROMPT%f]%(0?..%F{red}%B?%b%f)%(!.%F{red}#%f.%F{green}$%f) "
promptinit promptinit
# Source .profile # Source .profile