From f3c0f0a35348ffacaeb53444201692f43f3dda52 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 17 Jan 2004 00:11:09 +0000 Subject: support --root in bash_completion (Guillaume Rousse) --- urpmi.bash-completion | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'urpmi.bash-completion') diff --git a/urpmi.bash-completion b/urpmi.bash-completion index 73ac2eb5..3b2c463b 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -77,6 +77,10 @@ _urpmi() _urpmi_aliases return 0 ;; + --root) + _filedir -d + return 0 + ;; esac if [[ "$cur" == -* ]]; then @@ -88,7 +92,7 @@ _urpmi() --noclean --force --allow-nodeps --allow-force --parallel \ --wget --curl --limit-rate --proxy --proxy-user --bug \ --env --X --best-output --verify-rpm --no-verify-rpm \ - --test --excludepath --excludedocs ' -- $cur ) ) + --test --excludepath --excludedocs --root' -- $cur ) ) else # return available packages (unless it is clearly a file) and rpm files if [[ "$cur" != */* ]]; then -- cgit v1.2.1