[Bash-completion-commits] ./current r1233: Improved /var/log/rpmpkgs based rpm installed package completion.
Ville Skyttä
ville.skytta at iki.fi
Sun Jan 11 13:42:12 UTC 2009
------------------------------------------------------------
revno: 1233
committer: Ville Skyttä <ville.skytta at iki.fi>
branch nick: current
timestamp: Sun 2009-01-11 15:42:12 +0200
message:
Improved /var/log/rpmpkgs based rpm installed package completion.
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2009-01-11 13:37:05 +0000
+++ b/bash_completion 2009-01-11 13:42:12 +0000
@@ -1842,7 +1842,7 @@
/var/log/rpmpkgs -nt /var/lib/rpm/Packages ]; then
# using RHL 7.2 or later - this is quicker than querying the DB
COMPREPLY=( $( sed -ne \
- 's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \
+ 's|^\('$cur'[^[:space:]]*\)-[^[:space:]-]\+-[^[:space:]-]\+\.rpm$|\1|p' \
/var/log/rpmpkgs ) )
else
nodig=""
=== modified file 'debian/changelog'
--- a/debian/changelog 2009-01-11 13:37:05 +0000
+++ b/debian/changelog 2009-01-11 13:42:12 +0000
@@ -55,6 +55,8 @@
* Improved rpm macro completion (Ville Skyttä).
* Added -E to rpm completion (Ville Skyttä).
* Improved rpm backup file avoidance (Ville Skyttä).
+ * Improved /var/log/rpmpkgs based rpm installed package 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