diff --git a/oh-my-zsh.zsh b/oh-my-zsh.zsh index 0b5db7fca..1ee639c5c 100644 --- a/oh-my-zsh.zsh +++ b/oh-my-zsh.zsh @@ -3,6 +3,10 @@ ZSH=${ZSH:-/usr/share/oh-my-zsh/} local config_file plugin +# Load and run compinit +autoload -U compinit +compinit -i + # add a function path fpath=($ZSH/functions $ZSH/completions $fpath) for config_file ($ZSH/lib/*.zsh) source $config_file @@ -22,10 +26,6 @@ if [[ -d ~/.omz ]]; then fi fi -# Load and run compinit -autoload -U compinit -compinit -i - # Load the theme if [ "$ZSH_THEME" = "random" ] then