Browse code

Moved compinit call back to oh-my-zsh.sh, after plugins are loaded

Pat Regan authored on 12/04/2011 at 13:28:15
Showing 2 changed files
... ...
@@ -60,7 +60,3 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
60 60
 # ... unless we really want to.
61 61
 zstyle '*' single-ignored show
62 62
 
63
-# Load and run compinit
64
-autoload -U compinit
65
-compinit -i
66
-
... ...
@@ -14,6 +14,10 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
14 14
 plugin=${plugin:=()}
15 15
 for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
16 16
 
17
+# Load and run compinit
18
+autoload -U compinit
19
+compinit -i
20
+
17 21
 # Load the theme
18 22
 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
19 23