diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-01-17 00:11:09 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-01-17 00:11:09 +0000 |
commit | f3c0f0a35348ffacaeb53444201692f43f3dda52 (patch) | |
tree | 10c33735855d786a565b62d27833db3c9cb0aca3 /urpmi.bash-completion | |
parent | 9db2c62eef045c74b3553734ba8a18ebec6a8059 (diff) | |
download | urpmi-f3c0f0a35348ffacaeb53444201692f43f3dda52.tar urpmi-f3c0f0a35348ffacaeb53444201692f43f3dda52.tar.gz urpmi-f3c0f0a35348ffacaeb53444201692f43f3dda52.tar.bz2 urpmi-f3c0f0a35348ffacaeb53444201692f43f3dda52.tar.xz urpmi-f3c0f0a35348ffacaeb53444201692f43f3dda52.zip |
support --root in bash_completion (Guillaume Rousse)
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r-- | urpmi.bash-completion | 6 |
1 files changed, 5 insertions, 1 deletions
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 |