From f4f7861962774de595b018a8f2a30916693cae77 Mon Sep 17 00:00:00 2001 From: Mark Sikora Date: Sun, 28 Jun 2015 22:51:13 -0400 Subject: [PATCH] Load completions from custom config folder --- oh-my-zsh.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index ec64c240f..171faf0a6 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -5,15 +5,15 @@ fi # Initializes Oh My Zsh -# add a function path -fpath=($ZSH/functions $ZSH/completions $fpath) - # Set ZSH_CUSTOM to the path where your custom config files # and plugins exists, or else we will use the default custom/ if [[ -z "$ZSH_CUSTOM" ]]; then ZSH_CUSTOM="$ZSH/custom" fi +# add a function path +fpath=($ZSH/functions $ZSH/completions $ZSH_CUSTOM/completions $fpath) + # Set ZSH_CACHE_DIR to the path where cache files should be created # or else we will use the default cache/ if [[ -z "$ZSH_CACHE_DIR" ]]; then