summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Regan <thehead@patshead.com>2011-04-12 09:28:15 -0400
committerPat Regan <thehead@patshead.com>2011-04-12 09:28:15 -0400
commit16ac094a43052fb57eda9503174006a84a61a414 (patch)
treeda6e6d4221ec4e25bb2eaa9a3f5378dcddf5580b
parent235733e5e224539cf5002a02694d021902fd9550 (diff)
downloadzsh-16ac094a43052fb57eda9503174006a84a61a414.tar.gz
zsh-16ac094a43052fb57eda9503174006a84a61a414.tar.bz2
zsh-16ac094a43052fb57eda9503174006a84a61a414.zip
Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
-rw-r--r--lib/completion.zsh4
-rw-r--r--oh-my-zsh.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 21735e7e9..3c5a41e14 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -60,7 +60,3 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to.
zstyle '*' single-ignored show
-# Load and run compinit
-autoload -U compinit
-compinit -i
-
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 291772dfe..84a850ca3 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -14,6 +14,10 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
plugin=${plugin:=()}
for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
+# Load and run compinit
+autoload -U compinit
+compinit -i
+
# Load the theme
source "$ZSH/themes/$ZSH_THEME.zsh-theme"