Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
7cf34f5c
Commit
7cf34f5c
authored
Nov 24, 2013
by
Robby Russell
Browse files
Merge pull request #2276 from christianschmidt/master
Update _pass to follow symlinks for completion
parents
9f5a8951
ec779d5f
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/pass/_pass
View file @
7cf34f5c
...
@@ -101,7 +101,7 @@ _pass_cmd_show () {
...
@@ -101,7 +101,7 @@ _pass_cmd_show () {
_pass_complete_entries_helper () {
_pass_complete_entries_helper () {
local IFS=$'\n'
local IFS=$'\n'
local prefix="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
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 () {
_pass_complete_entries_with_subdirs () {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment