From 50e9ab122b5022d8e90facb6ca01b32996ea16d1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 24 Jul 2006 22:00:19 +0000 Subject: 22556: Multibyte separators and delimiters --- Functions/Zle/insert-composed-char | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Functions') 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." -- cgit 1.4.1