summaryrefslogtreecommitdiffstats
path: root/Functions/Prompts/prompt_special_chars
diff options
context:
space:
mode:
authorJim <linux.tech.guy@gmail.com>2025-10-31 09:18:29 -0700
committerBart Schaefer <schaefer@zsh.org>2025-10-31 09:18:29 -0700
commit4f0e4185b5fe3d3fd9d14e513419e96fd5e01cbb (patch)
tree61476dc8709b116a5d1ca1030f3c04fe2dfe1b84 /Functions/Prompts/prompt_special_chars
parentgithub #149: improve voice name parsing in say completion (diff)
downloadzsh-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_special_chars')
-rw-r--r--Functions/Prompts/prompt_special_chars2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_special_chars b/Functions/Prompts/prompt_special_chars
index 82a1f2d96..0586f69d7 100644
--- a/Functions/Prompts/prompt_special_chars
+++ b/Functions/Prompts/prompt_special_chars
@@ -8,7 +8,7 @@
typeset -gA schars
-if [[ ${LC_ALL:-${LC_CTYPE:-$LANG}} = *(UTF-8|utf8)* ]]; then
+if [[ ${${LC_ALL:-${LC_CTYPE:-$LANG}}:u} = *(UTF-8|UTF8)* ]]; then
schars[300]=$'\xe2\x94\x94'
schars[304]=$'\xe2\x94\x8c'
schars[332]=$'\xe2\x94\x8c'