aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/sd.bash
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 /bash/bash_completion.d/sd.bash
parentMerge branch 'hotfix/v1.71.1' (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.
Diffstat (limited to 'bash/bash_completion.d/sd.bash')
-rw-r--r--bash/bash_completion.d/sd.bash4
1 files changed, 2 insertions, 2 deletions
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
;;