summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-11 14:11:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-11 14:11:07 +0000
commit766ff34cae51aaba217851a184c0f91530fbc16d (patch)
tree20a0fcfee79d811ce10cdeb61eb32a5e741b96a2 /urpmi.bash-completion
parentb412bc3e57a25dc59c88cff47bf9a10e2453b6cd (diff)
downloadurpmi-766ff34cae51aaba217851a184c0f91530fbc16d.tar
urpmi-766ff34cae51aaba217851a184c0f91530fbc16d.tar.gz
urpmi-766ff34cae51aaba217851a184c0f91530fbc16d.tar.bz2
urpmi-766ff34cae51aaba217851a184c0f91530fbc16d.tar.xz
urpmi-766ff34cae51aaba217851a184c0f91530fbc16d.zip
- 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)
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion4
1 files changed, 1 insertions, 3 deletions
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