zsh: Add site-functions under /usr/local to fpath, if exists
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Nov 2013 10:43:24 +0000
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M zsh/environment.zsh → 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