summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 9acd42f..3b5f113 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -57,6 +57,10 @@ export KEYTIMEOUT=1
fpath+="$XDG_CONFIG_HOME/zsh/zfunc"
+autoload -Uz compinit
+
+alias compinit='compinit -u'
+
if [ -n "$ZPLUG_INSTALLED" ]; then
# zsh history substring search
zplug "zsh-users/zsh-history-substring-search", as:plugin
@@ -75,7 +79,6 @@ if [ -n "$ZPLUG_INSTALLED" ]; then
zplug load
fi
-autoload -Uz compinit
compinit
#zprof