diff options
author | Pat Regan <thehead@patshead.com> | 2011-04-08 11:10:14 -0400 |
---|---|---|
committer | Pat Regan <thehead@patshead.com> | 2011-04-08 11:10:14 -0400 |
commit | ef4175981b78ca6ef24f7776ab213f3b71488472 (patch) | |
tree | 5791dce61f4f1eed58361987f4161f74706b274e | |
parent | 993e05da50543b9c2dcc5e4fedb93afd1c8b020c (diff) | |
download | zsh-ef4175981b78ca6ef24f7776ab213f3b71488472.tar.gz zsh-ef4175981b78ca6ef24f7776ab213f3b71488472.tar.bz2 zsh-ef4175981b78ca6ef24f7776ab213f3b71488472.zip |
Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh
-rw-r--r-- | lib/completion.zsh | 4 | ||||
-rw-r--r-- | oh-my-zsh.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh index 3c5a41e14..21735e7e9 100644 --- a/lib/completion.zsh +++ b/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 + diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 805e92428..3970a497e 100644 --- a/oh-my-zsh.sh +++ b/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" ] |