summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion6
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