diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-22 10:19:49 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-22 10:19:49 -0800 |
commit | 14487ff5cc0233acf4ed3398559d975e92d52d51 (patch) | |
tree | 063987cc2c743bb5ad95f6dbc6edc23b4a14defb /Functions/Prompts/prompt_special_chars | |
parent | acbd2ca701ea6b91e3f3a710daa7e32295edc225 (diff) | |
download | zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.tar.gz zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.tar.xz zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.zip |
37192: silence WARN_CREATE_GLOBAL in prompt themes
Diffstat (limited to 'Functions/Prompts/prompt_special_chars')
-rw-r--r-- | Functions/Prompts/prompt_special_chars | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Prompts/prompt_special_chars b/Functions/Prompts/prompt_special_chars index a8da6c3e5..82a1f2d96 100644 --- a/Functions/Prompts/prompt_special_chars +++ b/Functions/Prompts/prompt_special_chars @@ -19,6 +19,7 @@ if [[ ${LC_ALL:-${LC_CTYPE:-$LANG}} = *(UTF-8|utf8)* ]]; then schars[261]=$'\xe2\x96\x92' schars[260]=$'\xe2\x96\x91' else + local code for code in 300 304 332 333 371 372 262 261 260; do eval "schars[$code]=\$'\\$code'" done |