summaryrefslogtreecommitdiff
path: root/completions/gpg2
diff options
context:
space:
mode:
Diffstat (limited to 'completions/gpg2')
-rw-r--r--completions/gpg24
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/gpg2 b/completions/gpg2
index 85e9f38c..3efc2dbb 100644
--- a/completions/gpg2
+++ b/completions/gpg2
@@ -23,11 +23,11 @@ _gpg2()
;;
-r|--recipient)
COMPREPLY=( $( compgen -W "$( gpg2 --list-keys 2>/dev/null | \
- sed -ne 's@^.*<\([^>]*\)>.*$@\1@p')" -- "$cur" ))
+ sed -ne 's@^.*<\([^>]*\)>.*$@\1@p')" -- "$cur" ) )
if [[ -e ~/.gnupg/gpg.conf ]]; then
COMPREPLY+=( $( compgen -W "$( sed -ne \
's@^[ \t]*group[ \t][ \t]*\([^=]*\).*$@\1@p' \
- ~/.gnupg/gpg.conf)" -- "$cur"))
+ ~/.gnupg/gpg.conf)" -- "$cur" ) )
fi
return 0
;;