From 766ff34cae51aaba217851a184c0f91530fbc16d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Mar 2008 14:11:07 +0000 Subject: - 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) --- urpmi.bash-completion | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'urpmi.bash-completion') 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 -- cgit v1.2.1