summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpmi.bash-completion4
2 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 6c9492a8..6bcbcc2e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
- gurpmi:
o fix breakage introduced with priority upgrades support (#38738)
+- bash-completion:
+ o restore available-pkgs completion using "urpmq --list" by default
+ (it needed COMP_URPMI_HDLISTS to be set, but it should be fast enough now)
Version 5.9 - 7 March 2008, by Thierry Vignaud
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 2375937f..fe9921ab 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -91,9 +91,7 @@ _urpmi()
COMPREPLY=( $( compgen -W "$options" -- $cur ) )
else
if [[ ${COMP_WORDS[0]} != *rurpmi ]]; then
- if [ -n "${COMP_URPMI_HDLISTS:-}" ]; then
- COMPREPLY=( $( compgen -W "$(urpmq --list)" -- $cur ) )
- fi
+ COMPREPLY=( $( compgen -W "$(urpmq --list)" -- $cur ) )
_filedir rpm
fi
fi