diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 11:15:16 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 11:15:16 +1300 |
commit | 38d3783a1db89c0520cb98f9341465c99dcc4dc9 (patch) | |
tree | 050ad3ce50c805be55827e352939e772f0919360 | |
parent | Don't include dotfiles in keep() names (diff) | |
download | dotfiles-38d3783a1db89c0520cb98f9341465c99dcc4dc9.tar.gz dotfiles-38d3783a1db89c0520cb98f9341465c99dcc4dc9.zip |
Remove unneeded -q option to shopt -s commands
-rw-r--r-- | bash/bash_completion.d/_ssh_config_hosts.bash | 2 | ||||
-rw-r--r-- | bash/bash_completion.d/_text_filenames.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_completion.d/_ssh_config_hosts.bash b/bash/bash_completion.d/_ssh_config_hosts.bash index c26457cf..dc75d4bc 100644 --- a/bash/bash_completion.d/_ssh_config_hosts.bash +++ b/bash/bash_completion.d/_ssh_config_hosts.bash @@ -16,7 +16,7 @@ _ssh_config_hosts() { while read -r _ setting ; do case $setting in ('completion-ignore-case on') - shopt -qs nocasematch 2>/dev/null + shopt -s nocasematch 2>/dev/null break ;; esac diff --git a/bash/bash_completion.d/_text_filenames.bash b/bash/bash_completion.d/_text_filenames.bash index 9cc1c722..4d576374 100644 --- a/bash/bash_completion.d/_text_filenames.bash +++ b/bash/bash_completion.d/_text_filenames.bash @@ -32,7 +32,7 @@ _text_filenames() { # Check the filename extension to know what to exclude ( # Case-insensitive matching available since 3.1-alpha - shopt -qs nocasematch 2>/dev/null + shopt -s nocasematch 2>/dev/null # Match against known binary patterns case $item in |