diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-27 17:18:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-27 17:18:35 +0200 |
commit | ddc4130c978decc5b2498b24d3b20e0c4efbc3cf (patch) | |
tree | 4c15921873c853c9636e63b563392610b6e25e03 /contrib | |
parent | a83559949622992faafb628b742893891ead8390 (diff) | |
parent | 0d6efb35ce445747cdc37b4f58cdf63463de6e1a (diff) | |
download | pacman-ddc4130c978decc5b2498b24d3b20e0c4efbc3cf.tar.gz pacman-ddc4130c978decc5b2498b24d3b20e0c4efbc3cf.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/bash_completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion index 1ec2cd53..bdc4754a 100644 --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -75,8 +75,8 @@ _pacman() { if [[ $? != 0 ]]; then _arch_ptr2comp core - elif ! [[ $prev =~ ^-\w*[Vbhr] || - $prev = --@(cachedir|config|dbpath|help|logfile|root|version) ]] + elif [[ ! $prev =~ ^-\w*[Vbhr] && + ! $prev = --@(cachedir|config|dbpath|help|logfile|root|version) ]] then [[ $cur = -* ]] && _arch_ptr2comp ${o#* } common || case ${o% *} in |