16ac094a43052fb57eda9503174006a84a61a414
- Author
- Pat Regan <thehead@patshead.com>
- Committer
- Pat Regan <thehead@patshead.com>
- Date
Message
Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 21735e7e907797133b7f0e8f7aa37f4e99ad5244..3c5a41e142f473bf1664e7f14fce8b0a2bc3e3d3 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -60,7 +60,3 @@ 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 291772dfe0b8bc5345717ef2b185eb7b52fa3194..84a850ca39a28e9442ea035ce4ea3f007d777962 100644
15--- a/oh-my-zsh.sh
16+++ b/oh-my-zsh.sh
17@@ -14,6 +14,10 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
18 plugin=${plugin:=()}
19 for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
20
21+# Load and run compinit
22+autoload -U compinit
23+compinit -i
24+
25 # Load the theme
26 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
27