From 7db736a3fa3e2656b8173ce53265d3648bff16b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Nov 2013 10:43:24 +0000 Subject: zsh: Add site-functions under /usr/local to fpath, if exists --- zsh/environment.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/environment.zsh b/zsh/environment.zsh index 080e2344..65000fb8 100755 --- a/zsh/environment.zsh +++ b/zsh/environment.zsh @@ -27,6 +27,11 @@ then fpath=(/usr/local/share/zsh-completions $fpath) fi +if [[ -d /usr/local/share/zsh/site-functions ]] +then + fpath=(/usr/local/share/zsh/site-functions $fpath) +fi + export FPATH case $OSTYPE in -- cgit 1.4.1