Removed themes and switched to override method
This commit is contained in:
parent
807f364204
commit
b80ac0714c
2 changed files with 7 additions and 9 deletions
|
@ -23,12 +23,10 @@ source ${0:h}/compdefs.zsh
|
||||||
|
|
||||||
# set custom sprompt
|
# set custom sprompt
|
||||||
if [[ ! ${TERM} = 'dumb' ]]; then
|
if [[ ! ${TERM} = 'dumb' ]]; then
|
||||||
if (( ${+zsprompt_theme} )); then
|
if (( ${+zsprompt} )); then
|
||||||
if [ $zsprompt_theme = "zim" ]; then
|
SPROMPT=$zsprompt
|
||||||
SPROMPT="Correct %F{1}%R%f to %F{2}%r%f? (%UY%ues, %UN%uo, %UA%ubort, %UE%udit)? "
|
else
|
||||||
elif [ $zsprompt_theme = "color" ]; then
|
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
||||||
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,6 @@ zmodules=(directory environment git git-info history input utility custom \
|
||||||
# Set your desired prompt here
|
# Set your desired prompt here
|
||||||
zprompt_theme='steeef'
|
zprompt_theme='steeef'
|
||||||
|
|
||||||
# Set your completion prompt here, options are 'zim' and 'color'
|
|
||||||
zsprompt_theme='zim'
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Completion
|
# Completion
|
||||||
#
|
#
|
||||||
|
@ -37,6 +34,9 @@ zsprompt_theme='zim'
|
||||||
# if none is provided, the default '.zcompdump' is used.
|
# if none is provided, the default '.zcompdump' is used.
|
||||||
#zcompdump_file=".zcompdump-${HOST}-${ZSH_VERSION}"
|
#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
|
# Utility
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue