diff options
-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 5353dfd9..3ca089bc 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -33,7 +33,7 @@ _urpmi_packages() # find media selection options for (( i=1; i < COMP_CWORD; i++ )); do case "${COMP_WORDS[i]}" in - --@(excludemedia|media)) + --@\(excludemedia|media\)) options="$options ${COMP_WORDS[i]} ${COMP_WORDS[i+1]}" i=$(($i+1)) ;; @@ -119,7 +119,7 @@ _urpmi() if [[ "$cur" != */* ]]; then _urpmi_packages fi - _filedir @(rpm|spec) + _filedir @\(rpm|spec\) fi fi } |