From 75773fb8442107b17d061e39acbdd086b874e039 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Thu, 28 Jul 2011 16:59:15 -0400 Subject: [PATCH] Prepend, not append, to fpath. --- oh-my-zsh.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oh-my-zsh.zsh b/oh-my-zsh.zsh index 3980b643..12c3d483 100644 --- a/oh-my-zsh.zsh +++ b/oh-my-zsh.zsh @@ -6,9 +6,9 @@ if [[ "$TERM" == 'dumb' ]]; then fi # Add functions to fpath. -fpath+=(${OMZ}/plugins/${^plugins} $OMZ/themes/*(/)) +fpath=($OMZ/themes/*(/) $OMZ/plugins/${^plugins} $OMZ/functions $fpath) -# Load and run compinit. +# Load and initialize the completion system. autoload -Uz compinit && compinit -i # Load all files in $OMZ/oh-my-zsh/lib/ that end in .zsh.