diff options
author | Alan Pearce | 2013-11-09 10:43:24 +0000 |
---|---|---|
committer | Alan Pearce | 2013-11-09 10:44:00 +0000 |
commit | 7db736a3fa3e2656b8173ce53265d3648bff16b5 (patch) | |
tree | f6f168dcbf024324e7af0383f2b41c6726991615 /zsh | |
parent | 7a8e863372414120e2a25ee4f11ddc7b60e8c03d (diff) | |
download | nixfiles-7db736a3fa3e2656b8173ce53265d3648bff16b5.tar.lz nixfiles-7db736a3fa3e2656b8173ce53265d3648bff16b5.tar.zst nixfiles-7db736a3fa3e2656b8173ce53265d3648bff16b5.zip |
zsh: Add site-functions under /usr/local to fpath, if exists
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/environment.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |