ef4175981b78ca6ef24f7776ab213f3b71488472
- Author
- Pat Regan <thehead@patshead.com>
- Committer
- Pat Regan <thehead@patshead.com>
- Date
Message
Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 3c5a41e142f473bf1664e7f14fce8b0a2bc3e3d3..21735e7e907797133b7f0e8f7aa37f4e99ad5244 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -60,3 +60,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
6 # ... unless we really want to.
7 zstyle '*' single-ignored show
8
9+# Load and run compinit
10+autoload -U compinit
11+compinit -i
12+
13diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
14index 805e92428f9d60aec8a33c1ad29221dabd800ec8..3970a497e7c16f36f02af166a127fb81e2f0227b 100644
15--- a/oh-my-zsh.sh
16+++ b/oh-my-zsh.sh
17@@ -18,8 +18,8 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
18 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
19
20 # Load and run compinit
21-autoload -U compinit
22-compinit -i
23+#autoload -U compinit
24+#compinit -i
25
26 # Check for updates on initial load...
27 if [ "$DISABLE_AUTO_UPDATE" = "true" ]