[Bash-completion-commits] ./current r1185: * Fixed gpg completion:

David Paleino d.paleino at gmail.com
Sat Sep 27 10:05:11 UTC 2008


------------------------------------------------------------
revno: 1185
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-09-27 12:05:11 +0200
message:
  * Fixed gpg completion:
    - -@(r|-recipient))
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-09-27 09:23:40 +0000
+++ b/bash_completion	2008-09-27 10:05:11 +0000
@@ -6230,7 +6230,7 @@
 		return 0
 		;;
 	-@(r|-recipient))
-		COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^pub.*<\([^>]*\)>.*$@\1 at p')" -- "$cur" ))
+		COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^.*<\([^>]*\)>.*$@\1 at p')" -- "$cur" ))
 		if [ -e ~/.gnupg/gpg.conf ]; then
 			COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$( sed -ne 's@^[ \t]*group[ \t][ \t]*\([^=]*\).*$@\1 at p' ~/.gnupg/gpg.conf  )" -- "$cur") )
 		fi

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-09-27 09:23:40 +0000
+++ b/debian/changelog	2008-09-27 10:05:11 +0000
@@ -21,13 +21,14 @@
     - 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 <d.paleino at gmail.com>  Sat, 27 Sep 2008 11:23:18 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sat, 27 Sep 2008 12:04:42 +0200
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list