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,14 +23,12 @@ 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
|
||||
if (( ${+zsprompt} )); then
|
||||
SPROMPT=$zsprompt
|
||||
else
|
||||
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# zsh options
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue