From b84ff8f11939a3552efc0a675d83a77fd3e6db02 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Tue, 29 Nov 2011 07:35:14 -0500 Subject: [PATCH] Order is important here. Opps. --- oh-my-zsh.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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