Browse Source

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

Pat Regan 13 years ago
parent
commit
af0b6ac28f
  1. 4
      lib/completion.zsh
  2. 4
      oh-my-zsh.sh

4
lib/completion.zsh

@ -60,7 +60,3 @@ zstyle ':completion:*:*:*:users' ignored-patterns \ @@ -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

4
oh-my-zsh.sh

@ -14,6 +14,10 @@ for config_file ($ZSH/custom/*.zsh) source $config_file @@ -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"

Loading…
Cancel
Save