diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-30 18:26:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-30 18:28:28 +0200 |
commit | 3b16d1d3fbd221724378475085a1170997d732b5 (patch) | |
tree | 9f7cb616acabbf31f4ac97ef8718cb5a3352c01f /contrib | |
parent | ec5eeec7445fe3d662ddd8e1df573931b9bb312c (diff) | |
download | pass-3b16d1d3fbd221724378475085a1170997d732b5.tar.gz pass-3b16d1d3fbd221724378475085a1170997d732b5.tar.bz2 pass-3b16d1d3fbd221724378475085a1170997d732b5.zip |
Explicitly use gpg2 rather than relying on symlink.
Diffstat (limited to '')
-rw-r--r-- | contrib/pass.bash-completion | 2 | ||||
-rw-r--r-- | contrib/pass.fish-completion | 2 | ||||
-rw-r--r-- | contrib/pass.zsh-completion | 2 |
3 files changed, 3 insertions, 3 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})) } diff --git a/contrib/pass.fish-completion b/contrib/pass.fish-completion index 7652d56..bfcd0f0 100644 --- a/contrib/pass.fish-completion +++ b/contrib/pass.fish-completion @@ -31,7 +31,7 @@ function __fish_pass_uses_command end function __fish_pass_print_gpg_keys - gpg --list-keys | grep uid | sed 's/.*<\(.*\)>/\1/' + gpg2 --list-keys | grep uid | sed 's/.*<\(.*\)>/\1/' end function __fish_pass_print_entry_dirs set -l prefix (__fish_pass_get_prefix) diff --git a/contrib/pass.zsh-completion b/contrib/pass.zsh-completion index c6fe678..f26c38b 100644 --- a/contrib/pass.zsh-completion +++ b/contrib/pass.zsh-completion @@ -112,5 +112,5 @@ _pass_complete_entries () { _pass_complete_keys () { local IFS=$'\n' # Extract names and email addresses from gpg --list-keys - _values 'gpg keys' $(gpg --list-secret-keys --with-colons | cut -d : -f 10 | sort -u | sed '/^$/d') + _values 'gpg keys' $(gpg2 --list-secret-keys --with-colons | cut -d : -f 10 | sort -u | sed '/^$/d') } |