Load and run compinit at start

This commit is contained in:
Colin Hebert 2011-06-18 23:56:51 +01:00
commit 0683e4d7bf

View file

@ -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