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