all repos — nixfiles @ f605e559c20a2ba6afd60e45ef549b1daaa949fe

System and user configuration, managed by nix and home-manager

zsh: Add pass completion to fpath when extant
Alan Pearce alan.pearce@spotcap.com
Fri, 08 May 2015 09:58:55 +0200
commit

f605e559c20a2ba6afd60e45ef549b1daaa949fe

parent

dd979779a06bc766590e686d5f57692bb096afc6

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M tag-zsh/config/zsh/zshenvtag-zsh/config/zsh/zshenv
@@ -31,6 +31,11 @@ then 	fpath=(/usr/local/share/zsh/site-functions $fpath)
 fi
 
+if [[ -d /usr/local/opt/pass/share/zsh/site-functions ]]
+then
+	fpath=($fpath /usr/local/opt/pass/share/zsh/site-functions)
+fi
+
 export FPATH
 
 case $OSTYPE in