Files
oh-my-bash/lib/shopt.sh
Koichi Murase 8fcc79f49b lib/shopt: Remove nocasematch (#503)
The setting `shopt -s nocasematch` affects every pattern matching in
Bash including the case statement, [[ str == pat ]] matching,
${var/pat/rep}, and ${var#pat}.  Since the affected range is too
large, this potentially breaks the existing functions.  This setting
`shopt -s nocasematch` seems the one that should be enabled locally
when it is specifically needed rather than being enabled globally.
2023-12-28 11:08:42 +09:00

2.6 KiB