summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2015-05-08 09:58:55 +0200
committerAlan Pearce2015-05-08 09:58:55 +0200
commitf605e559c20a2ba6afd60e45ef549b1daaa949fe (patch)
tree5a8ea8d27bb38eca31c576b5100d03c740e616fe /tag-zsh
parentdd979779a06bc766590e686d5f57692bb096afc6 (diff)
downloadnixfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.tar.lz
nixfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.tar.zst
nixfiles-f605e559c20a2ba6afd60e45ef549b1daaa949fe.zip
zsh: Add pass completion to fpath when extant
Diffstat (limited to 'tag-zsh')
-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 df793cfc..8e1fd025 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