diff options
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r-- | urpmi.bash-completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion index 8ce2f1a9..6ddee33c 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -53,8 +53,8 @@ _urpmi() local cur prev options COMPREPLY=() - cur=${COMP_WORDS[COMP_CWORD]} - prev=${COMP_WORDS[COMP_CWORD-1]} + cur=`_get_cword` + prev=`_get_pword` case "$prev" in --media) |