Removed themes and switched to override method

This commit is contained in:
AtomicCoding 2018-04-08 11:25:16 -07:00
parent 807f364204
commit b80ac0714c
No known key found for this signature in database
GPG Key ID: D9C2E2ED3C4516FA
2 changed files with 7 additions and 9 deletions

View File

@ -23,12 +23,10 @@ source ${0:h}/compdefs.zsh
# set custom sprompt
if [[ ! ${TERM} = 'dumb' ]]; then
if (( ${+zsprompt_theme} )); then
if [ $zsprompt_theme = "zim" ]; then
SPROMPT="Correct %F{1}%R%f to %F{2}%r%f? (%UY%ues, %UN%uo, %UA%ubort, %UE%udit)? "
elif [ $zsprompt_theme = "color" ]; then
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
fi
if (( ${+zsprompt} )); then
SPROMPT=$zsprompt
else
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
fi
fi

View File

@ -26,9 +26,6 @@ zmodules=(directory environment git git-info history input utility custom \
# Set your desired prompt here
zprompt_theme='steeef'
# Set your completion prompt here, options are 'zim' and 'color'
zsprompt_theme='zim'
#
# Completion
#
@ -37,6 +34,9 @@ zsprompt_theme='zim'
# if none is provided, the default '.zcompdump' is used.
#zcompdump_file=".zcompdump-${HOST}-${ZSH_VERSION}"
# Set your own completion prompt, comment out for default
#zsprompt='Correct %F{red}%R%f to %F{green}%r%f? (%UY%ues, %UN%uo, %UA%ubort, %UE%udit)? '
#
# Utility
#