summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-07-09 19:33:42 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-07-09 19:33:42 +0000
commit3d3276c9f032c21ed884550e01d2b23788397fc4 (patch)
tree619b6245470ea74545b5d326821569aecf5ad417
parent6fff6cb237526e2c9e126703ce1d42ff9a8b2f00 (diff)
downloadurpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.gz
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.bz2
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.xz
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.zip
urpmi: allow bash-completion to complete to .spec files as well
-rw-r--r--NEWS2
-rw-r--r--urpmi.bash-completion2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6dfd0e70..830bdcdc 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
- use urpmi log API for the transaction failed message instead of
printing it on the console so that installer can save each error
with each transaction log instead of only having a summary at end
+- urpmi:
+ o allow bash-completion to complete to .spec files as well
Version 6.25.5 - 23 April 2009
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 752606e7..5353dfd9 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -119,7 +119,7 @@ _urpmi()
if [[ "$cur" != */* ]]; then
_urpmi_packages
fi
- _filedir rpm
+ _filedir @(rpm|spec)
fi
fi
}