Changed Config Method
This commit is contained in:
parent
f64cae4188
commit
5d9bf8dd72
2 changed files with 2 additions and 9 deletions
|
@ -22,12 +22,8 @@ autoload -Uz compinit && compinit -C -d "${ZDOTDIR:-${HOME}}/${zcompdump_file:-.
|
||||||
source ${0:h}/compdefs.zsh
|
source ${0:h}/compdefs.zsh
|
||||||
|
|
||||||
# set custom sprompt
|
# set custom sprompt
|
||||||
if [[ ! ${TERM} = 'dumb' ]]; then
|
if [ ${SPROMPT} = "zsh: correct '%R' to '%r' [nyae]?" ]; then
|
||||||
if (( ${+zsprompt} )); then
|
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
||||||
SPROMPT=$zsprompt
|
|
||||||
else
|
|
||||||
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -34,9 +34,6 @@ zprompt_theme='steeef'
|
||||||
# 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