Changed Config Method

This commit is contained in:
AtomicCoding 2018-04-21 12:34:00 -07:00
parent f64cae4188
commit 5d9bf8dd72
No known key found for this signature in database
GPG Key ID: D9C2E2ED3C4516FA
2 changed files with 2 additions and 9 deletions

View File

@ -22,12 +22,8 @@ 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
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
fi
if [ ${SPROMPT} = "zsh: correct '%R' to '%r' [nyae]?" ]; then
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
fi
#

View File

@ -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
#