Browse Source

Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh

Pat Regan 14 years ago
parent
commit
ef4175981b
2 changed files with 6 additions and 2 deletions
  1. 4 0
      lib/completion.zsh
  2. 2 2
      oh-my-zsh.sh

+ 4 - 0
lib/completion.zsh

@@ -60,3 +60,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
 # ... unless we really want to.
 zstyle '*' single-ignored show
 
+# Load and run compinit
+autoload -U compinit
+compinit -i
+

+ 2 - 2
oh-my-zsh.sh

@@ -18,8 +18,8 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
 
 # Load and run compinit
-autoload -U compinit
-compinit -i
+#autoload -U compinit
+#compinit -i
 
 # Check for updates on initial load...
 if [ "$DISABLE_AUTO_UPDATE" = "true" ]