[Bash-completion-commits] ./current r1231: Add -E to rpm completion.

Ville Skyttä ville.skytta at iki.fi
Sun Jan 11 13:22:31 UTC 2009


------------------------------------------------------------
revno: 1231
committer: Ville Skyttä <ville.skytta at iki.fi>
branch nick: current
timestamp: Sun 2009-01-11 15:22:31 +0200
message:
  Add -E to rpm completion.
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2009-01-11 13:09:54 +0000
+++ b/bash_completion	2009-01-11 13:22:31 +0000
@@ -1913,7 +1913,7 @@
 			--import' -- $cur ) )
 			;;
 		*)
-			COMPREPLY=( $( compgen -W '-b -e -F -i -q -t -U -V' \
+			COMPREPLY=( $( compgen -W '-b -e -E -F -i -q -t -U -V' \
 				       -- $cur ) )
 			;;
 		esac
@@ -1926,7 +1926,7 @@
 		_filedir -d
 		return 0
 		;;
-	--eval)
+	--eval|-E)
 		# get a list of macros
 		COMPREPLY=( $( rpm --showrc | sed -ne \
 		's/^-\?[0-9]\+[:=][[:space:]]\+\('${cur#%}'[^[:space:](]*\).*/\1/p' ) )

=== modified file 'debian/changelog'
--- a/debian/changelog	2009-01-11 13:17:41 +0000
+++ b/debian/changelog	2009-01-11 13:22:31 +0000
@@ -53,6 +53,7 @@
   * Added JPEG 2000 files to display completion, thanks to Bastien Nocera
     (RHBZ: #304771)
   * Improved rpm macro completion (Ville Skyttä).
+  * Add -E to rpm completion (Ville Skyttä).
   * Merge from Gentoo:
     - fix 'find' completion so that it properly completes on -?(i)whilename.
       Patch by Ciaran McCreesh.



More information about the Bash-completion-commits mailing list