summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-11-24 10:30:35 -0800
committerRobby Russell <robby@planetargon.com>2013-11-24 10:30:35 -0800
commit7cf34f5c34c97803a09af06cfd5e3e00a8d5f3ae (patch)
tree4a67e9a33c7f4bfc4841bd691d08a48cdd1d5182
parent9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68 (diff)
parentec779d5f737f0f70a7353bb0e78dc2d38606c8d9 (diff)
downloadzsh-7cf34f5c34c97803a09af06cfd5e3e00a8d5f3ae.tar.gz
zsh-7cf34f5c34c97803a09af06cfd5e3e00a8d5f3ae.tar.bz2
zsh-7cf34f5c34c97803a09af06cfd5e3e00a8d5f3ae.zip
Merge pull request #2276 from christianschmidt/master
Update _pass to follow symlinks for completion
-rw-r--r--plugins/pass/_pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pass/_pass b/plugins/pass/_pass
index f6c1a6c4b..d8ec38828 100644
--- a/plugins/pass/_pass
+++ b/plugins/pass/_pass
@@ -101,7 +101,7 @@ _pass_cmd_show () {
_pass_complete_entries_helper () {
local IFS=$'\n'
local prefix="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
- _values -C 'passwords' $(find "$prefix" \( -name .git -o -name .gpg-id \) -prune -o $@ -print | sed -e "s#${prefix}.##" -e 's#\.gpg##' | sort)
+ _values -C 'passwords' $(find -L "$prefix" \( -name .git -o -name .gpg-id \) -prune -o $@ -print | sed -e "s#${prefix}.##" -e 's#\.gpg##' | sort)
}
_pass_complete_entries_with_subdirs () {