From 0683e4d7bfc02f32d7028f566ce14e091eeaf2f5 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 18 Jun 2011 23:56:51 +0100 Subject: [PATCH] Load and run compinit at start --- oh-my-zsh.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 246a69287..aa5c691dd 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -10,6 +10,10 @@ fi # Initializes Oh My Zsh +# Load and run compinit +autoload -U compinit +compinit -i + # add a function path fpath=($ZSH/functions $ZSH/completions $fpath) @@ -21,10 +25,6 @@ for config_file ($ZSH/lib/*.zsh) source $config_file plugin=${plugin:=()} for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath) -# Load and run compinit -autoload -U compinit -compinit -i - # Load all of the plugins that were defined in ~/.zshrc for plugin ($plugins); do if [ -f $ZSH/custom/plugins/$plugin/$plugin.plugin.zsh ]; then