Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/bash_completion
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-27 10:18:35 -0500
committerDan McGee <dan@archlinux.org>2010-07-27 10:18:35 -0500
commitddc4130c978decc5b2498b24d3b20e0c4efbc3cf (patch)
tree4c15921873c853c9636e63b563392610b6e25e03 /contrib/bash_completion
parenta83559949622992faafb628b742893891ead8390 (diff)
parent0d6efb35ce445747cdc37b4f58cdf63463de6e1a (diff)
Merge branch 'maint'
Diffstat (limited to 'contrib/bash_completion')
-rw-r--r--contrib/bash_completion4
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