[Bash-completion-commits] ./current r1184: Fixed gpg completion for --@(export|@(?(l|nr|nrl)sign|edit)-key))

David Paleino d.paleino at gmail.com
Sat Sep 27 09:23:40 UTC 2008


------------------------------------------------------------
revno: 1184
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-09-27 11:23:40 +0200
message:
  Fixed gpg completion for --@(export|@(?(l|nr|nrl)sign|edit)-key))
  (Closes: #500316)
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-09-26 19:39:30 +0000
+++ b/bash_completion	2008-09-27 09:23:40 +0000
@@ -6226,7 +6226,7 @@
 		;;
 	--@(export|@(?(l|nr|nrl)sign|edit)-key))
 		# return list of public keys
-		COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^pub.*/\([^ ]*\).*\(<\([^>]*\)>\).*$@\1 \3 at p')" -- "$cur" ))
+		COMPREPLY=( $( compgen -W "$( gpg --list-keys 2>/dev/null | sed -ne 's@^pub.*/\([^ ]*\).*$@\1 at p;s@^.*\(<\([^>]*\)>\).*$@\2 at p')" -- "$cur" ))
 		return 0
 		;;
 	-@(r|-recipient))

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-09-26 19:39:30 +0000
+++ b/debian/changelog	2008-09-27 09:23:40 +0000
@@ -21,11 +21,13 @@
     - 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)
   * Added gksudo, gksu, kdesudo completion
   * Added apache2ctl completion
   * debian/links fixed (Closes: #494292)
 
- -- David Paleino <d.paleino at gmail.com>  Fri, 26 Sep 2008 21:36:35 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sat, 27 Sep 2008 11:23:18 +0200
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list