diff options
author | christianschmidt <cs@chrische.net> | 2013-11-23 15:32:22 +0100 |
---|---|---|
committer | christianschmidt <cs@chrische.net> | 2013-11-23 15:32:22 +0100 |
commit | ec779d5f737f0f70a7353bb0e78dc2d38606c8d9 (patch) | |
tree | 4a67e9a33c7f4bfc4841bd691d08a48cdd1d5182 | |
parent | 9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68 (diff) | |
download | zsh-ec779d5f737f0f70a7353bb0e78dc2d38606c8d9.tar.gz zsh-ec779d5f737f0f70a7353bb0e78dc2d38606c8d9.tar.bz2 zsh-ec779d5f737f0f70a7353bb0e78dc2d38606c8d9.zip |
Update _pass to follow symlinks for completion
Based on: http://comments.gmane.org/gmane.comp.encryption.pass/235
-rw-r--r-- | plugins/pass/_pass | 2 |
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 () { |