diff options
| author | Jim <linux.tech.guy@gmail.com> | 2025-10-31 09:18:29 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2025-10-31 09:18:29 -0700 |
| commit | 4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb (patch) | |
| tree | 61476dc8709b116a5d1ca1030f3c04fe2dfe1b84 /Functions/Prompts/prompt_adam2_setup | |
| parent | github #149: improve voice name parsing in say completion (diff) | |
| download | zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar.gz zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar.bz2 zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar.lz zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar.xz zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.tar.zst zsh-4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb.zip | |
53783: use case-insensitive search for more variants of language files
Diffstat (limited to 'Functions/Prompts/prompt_adam2_setup')
| -rw-r--r-- | Functions/Prompts/prompt_adam2_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_adam2_setup b/Functions/Prompts/prompt_adam2_setup index b9445116b..41bf56fa1 100644 --- a/Functions/Prompts/prompt_adam2_setup +++ b/Functions/Prompts/prompt_adam2_setup @@ -25,7 +25,7 @@ prompt_adam2_setup () { if [[ $1 == '8bit' ]]; then shift - if [[ ${LC_ALL:-${LC_CTYPE:-$LANG}} = *UTF-8* ]]; then + if [[ ${${LC_ALL:-${LC_CTYPE:-$LANG}}:u} = *(UTF-8|UTF8)* ]]; then prompt_gfx_tlc=$'\xe2\x94\x8c' prompt_gfx_mlc=$'\xe2\x94\x9c' prompt_gfx_blc=$'\xe2\x94\x94' |
