Skip to content
Browse files

Update _pass to follow symlinks for completion

  • Loading branch information...
1 parent 9f5a895 commit ec779d5f737f0f70a7353bb0e78dc2d38606c8d9 @christianschmidt christianschmidt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/pass/_pass
View
2 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 () {

0 comments on commit ec779d5

Please sign in to comment.
Something went wrong with that request. Please try again.