summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv (renamed from zsh/zshenv)0
-rw-r--r--zsh/.zshrc (renamed from zsh/zshrc)10
2 files changed, 7 insertions, 3 deletions
diff --git a/zsh/zshenv b/zsh/.zshenv
index 3719ef4..3719ef4 100644
--- a/zsh/zshenv
+++ b/zsh/.zshenv
diff --git a/zsh/zshrc b/zsh/.zshrc
index 09a5e32..791b5d1 100644
--- a/zsh/zshrc
+++ b/zsh/.zshrc
@@ -68,7 +68,7 @@ zle -N zle-line-init
zle -N zle-keymap-select
export KEYTIMEOUT=1
-fpath+="$XDG_CONFIG_HOME/zsh/zfunc"
+#fpath+="$XDG_CONFIG_HOME/zsh/zfunc"
if [ -n "$ZPLUG_INSTALLED" ]; then
# zsh history substring search
@@ -88,8 +88,12 @@ if [ -n "$ZPLUG_INSTALLED" ]; then
zplug load
fi
-autoload -Uz compinit
-compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
+autoload -Uz compinit
+if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
+ compinit
+else
+ compinit -C;
+fi;
zstyle ':completion:*' hosts off