summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-05-08 09:58:55 +0200
committerAlan Pearce2015-05-08 09:58:55 +0200
commitf605e559c20a2ba6afd60e45ef549b1daaa949fe (patch)
tree5a8ea8d27bb38eca31c576b5100d03c740e616fe
parentdd979779a06bc766590e686d5f57692bb096afc6 (diff)
downloaddotfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.tar.lz
dotfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.tar.zst
dotfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.zip
zsh: Add pass completion to fpath when extant
-rwxr-xr-xtag-zsh/config/zsh/zshenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index df793cf..8e1fd02 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-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