1
0
Fork 0
mirror of synced 2024-12-21 21:51:07 -05:00

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
#