summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorPat Regan <thehead@patshead.com>2011-04-08 10:12:22 -0400
committerPat Regan <thehead@patshead.com>2011-04-08 10:12:22 -0400
commit993e05da50543b9c2dcc5e4fedb93afd1c8b020c (patch)
treefeeccab83c2b7fb9cfd027c686ea15f746f48bac /oh-my-zsh.sh
parent2e9492969b0ea90932ad3f4298330b75ef8cf2ce (diff)
downloadzsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.tar.gz
zsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.tar.bz2
zsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.zip
Replace redundant calls to compinit with a single call.
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 291772dfe..805e92428 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -17,6 +17,10 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
# Load the theme
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
+# Load and run compinit
+autoload -U compinit
+compinit -i
+
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
then