aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-10-31 09:24:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-10-31 09:24:20 +1300
commit5a9a9f9cde0080ae85a0aa8ff42f40947b3c5da6 (patch)
treecd7d790d0f488b39b60c88211e07481c81a70186
parentadcae4feea0319c76131c94888b2a0be2a970476 (diff)
downloaddotfiles-5a9a9f9cde0080ae85a0aa8ff42f40947b3c5da6.tar.gz
dotfiles-5a9a9f9cde0080ae85a0aa8ff42f40947b3c5da6.zip
Add left-parens to inner case statements
This helps older versions of Bash understand that the surrounding subshell isn't terminating.
-rw-r--r--bash/bash_completion.d/eds.bash4
-rw-r--r--bash/bash_completion.d/keep.bash4
-rw-r--r--bash/bash_completion.d/man.bash4
-rw-r--r--bash/bash_completion.d/mysql.bash4
-rw-r--r--bash/bash_completion.d/pass.bash4
-rw-r--r--bash/bash_completion.d/path.bash4
-rw-r--r--bash/bash_completion.d/sd.bash4
-rw-r--r--bash/bash_completion.d/td.bash4
-rw-r--r--bash/bash_completion.d/ud.bash4
9 files changed, 18 insertions, 18 deletions
diff --git a/bash/bash_completion.d/eds.bash b/bash/bash_completion.d/eds.bash
index 7fd29ae0..ea6de618 100644
--- a/bash/bash_completion.d/eds.bash
+++ b/bash/bash_completion.d/eds.bash
@@ -15,9 +15,9 @@ _eds() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/keep.bash b/bash/bash_completion.d/keep.bash
index abe532f7..77b37059 100644
--- a/bash/bash_completion.d/keep.bash
+++ b/bash/bash_completion.d/keep.bash
@@ -44,9 +44,9 @@ _keep() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/man.bash b/bash/bash_completion.d/man.bash
index d0d4f9b2..3e2cc5be 100644
--- a/bash/bash_completion.d/man.bash
+++ b/bash/bash_completion.d/man.bash
@@ -39,9 +39,9 @@ _man() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/mysql.bash b/bash/bash_completion.d/mysql.bash
index 3c1afa90..5604b3bb 100644
--- a/bash/bash_completion.d/mysql.bash
+++ b/bash/bash_completion.d/mysql.bash
@@ -23,9 +23,9 @@ _mysql() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/pass.bash b/bash/bash_completion.d/pass.bash
index f0f954db..ec5959be 100644
--- a/bash/bash_completion.d/pass.bash
+++ b/bash/bash_completion.d/pass.bash
@@ -27,9 +27,9 @@ _pass()
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/path.bash b/bash/bash_completion.d/path.bash
index 53d0c84d..8b72a062 100644
--- a/bash/bash_completion.d/path.bash
+++ b/bash/bash_completion.d/path.bash
@@ -30,9 +30,9 @@ _path() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/sd.bash b/bash/bash_completion.d/sd.bash
index b0e44ca0..578a69fd 100644
--- a/bash/bash_completion.d/sd.bash
+++ b/bash/bash_completion.d/sd.bash
@@ -21,9 +21,9 @@ _sd() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/td.bash b/bash/bash_completion.d/td.bash
index 7f43ebc1..377ef6ce 100644
--- a/bash/bash_completion.d/td.bash
+++ b/bash/bash_completion.d/td.bash
@@ -14,9 +14,9 @@ _td() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;
diff --git a/bash/bash_completion.d/ud.bash b/bash/bash_completion.d/ud.bash
index 7fa444e2..aa59a4fc 100644
--- a/bash/bash_completion.d/ud.bash
+++ b/bash/bash_completion.d/ud.bash
@@ -17,9 +17,9 @@ _ud() {
# to find this value?
while read -r _ option value ; do
case $option in
- completion-ignore-case)
+ (completion-ignore-case)
case $value in
- on)
+ (on)
shopt -s nocaseglob
break
;;