From f683065d256d61b38951eb6d60fe158f9016d349 Mon Sep 17 00:00:00 2001 From: David Paleino Date: Sat, 27 Sep 2008 12:05:11 +0200 Subject: [PATCH] * Fixed gpg completion: - -@(r|-recipient)) --- bash_completion | 2 +- debian/changelog | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bash_completion b/bash_completion index c727c234..fa8680d0 100644 --- a/bash_completion +++ b/bash_completion @@ -6230,7 +6230,7 @@ _gpg() return 0 ;; -@(r|-recipient)) - COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^pub.*<\([^>]*\)>.*$@\1@p')" -- "$cur" )) + COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^.*<\([^>]*\)>.*$@\1@p')" -- "$cur" )) if [ -e ~/.gnupg/gpg.conf ]; then COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$( sed -ne 's@^[ \t]*group[ \t][ \t]*\([^=]*\).*$@\1@p' ~/.gnupg/gpg.conf )" -- "$cur") ) fi diff --git a/debian/changelog b/debian/changelog index 94b4d6fc..b1f91eb6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,13 +21,14 @@ bash-completion (200809xx) UNRELEASED; urgency=low - when a non-existing directory is in $PATH (Closes: #499780) * Fix missing completion for "-n" and "-e" (we were using echo, now using printf) (thanks to Morita Sho) (Closes: #498105) - * Fixed gpg completion for --@(export|@(?(l|nr|nrl)sign|edit)-key)) - (Closes: #500316) + * Fixed gpg completion: + - --@(export|@(?(l|nr|nrl)sign|edit)-key)) (Closes: #500316) + - -@(r|-recipient)) * Added gksudo, gksu, kdesudo completion * Added apache2ctl completion * debian/links fixed (Closes: #494292) - -- David Paleino Sat, 27 Sep 2008 11:23:18 +0200 + -- David Paleino Sat, 27 Sep 2008 12:04:42 +0200 bash-completion (20080705) unstable; urgency=low