mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 02:08:37 +08:00
Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
This commit is contained in:
parent
235733e5e2
commit
16ac094a43
|
@ -60,7 +60,3 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||||
# ... unless we really want to.
|
# ... unless we really want to.
|
||||||
zstyle '*' single-ignored show
|
zstyle '*' single-ignored show
|
||||||
|
|
||||||
# Load and run compinit
|
|
||||||
autoload -U compinit
|
|
||||||
compinit -i
|
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
|
||||||
plugin=${plugin:=()}
|
plugin=${plugin:=()}
|
||||||
for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
|
for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
|
||||||
|
|
||||||
|
# Load and run compinit
|
||||||
|
autoload -U compinit
|
||||||
|
compinit -i
|
||||||
|
|
||||||
# Load the theme
|
# Load the theme
|
||||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user