From c6972c87db340c2dff4e9f0488a3115b8966d5b3 Mon Sep 17 00:00:00 2001 From: AtomicCoding Date: Sat, 21 Apr 2018 19:05:42 -0700 Subject: [PATCH] Moved Config to zimrc --- modules/completion/init.zsh | 5 ----- templates/zimrc | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/completion/init.zsh b/modules/completion/init.zsh index 154e62b..1df1bab 100644 --- a/modules/completion/init.zsh +++ b/modules/completion/init.zsh @@ -21,11 +21,6 @@ autoload -Uz compinit && compinit -C -d "${ZDOTDIR:-${HOME}}/${zcompdump_file:-. # set any compdefs source ${0:h}/compdefs.zsh -# set custom sprompt -if [ ${SPROMPT} = "zsh: correct '%R' to '%r' [nyae]?" ]; then - SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? ' -fi - # # zsh options # diff --git a/templates/zimrc b/templates/zimrc index 203a7a6..54d4667 100644 --- a/templates/zimrc +++ b/templates/zimrc @@ -34,6 +34,9 @@ zprompt_theme='steeef' # if none is provided, the default '.zcompdump' is used. #zcompdump_file=".zcompdump-${HOST}-${ZSH_VERSION}" +# Set custom completion prompt +SPROMPT="zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? " + # # Utility #