1
0
Fork 0
mirror of synced 2024-12-22 06:01:06 -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 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
# #

View file

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