m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/contrib/pass.bash-completion
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-30 18:26:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-30 18:28:28 +0200
commit3b16d1d3fbd221724378475085a1170997d732b5 (patch)
tree9f7cb616acabbf31f4ac97ef8718cb5a3352c01f /contrib/pass.bash-completion
parentec5eeec7445fe3d662ddd8e1df573931b9bb312c (diff)
Explicitly use gpg2 rather than relying on symlink.
Diffstat (limited to 'contrib/pass.bash-completion')
-rw-r--r--contrib/pass.bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pass.bash-completion b/contrib/pass.bash-completion
index ccffbfa..c993c7f 100644
--- a/contrib/pass.bash-completion
+++ b/contrib/pass.bash-completion
@@ -40,7 +40,7 @@ _pass_complete_entries () {
_pass_complete_keys () {
local IFS=$'\n'
# Extract names and email addresses from gpg --list-keys
- local keys="$(gpg --list-secret-keys --with-colons | cut -d : -f 10 | sort -u | sed '/^$/d')"
+ local keys="$(gpg2 --list-secret-keys --with-colons | cut -d : -f 10 | sort -u | sed '/^$/d')"
COMPREPLY+=($(compgen -W "${keys}" -- ${cur}))
}