diff options
Diffstat (limited to 'Functions/Zle')
-rw-r--r-- | Functions/Zle/insert-composed-char | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Functions/Zle/insert-composed-char b/Functions/Zle/insert-composed-char index 2ed008990..7978a7589 100644 --- a/Functions/Zle/insert-composed-char +++ b/Functions/Zle/insert-composed-char @@ -128,7 +128,7 @@ # 'm Macron # '' Acute -emulate -LR zsh +emulate -L zsh setopt cbases extendedglob printeightbit local accent basechar ochar error @@ -165,7 +165,8 @@ else fi local -A charmap -charmap=(${=zsh_accented_chars[$accent]}) +# just in case someone is monkeying with IFS... +charmap=(${(s. .)zsh_accented_chars[$accent]}) if [[ ${#charmap} -eq 0 || -z $charmap[$basechar] ]]; then $error "Combination ${basechar}${accent} is not available." |