diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-24 22:00:19 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-24 22:00:19 +0000 |
| commit | 50e9ab122b5022d8e90facb6ca01b32996ea16d1 (patch) | |
| tree | 0bf441f7d4a77ac25fbe8ddcf8087f8526d72955 /Functions | |
| parent | 22554: completion for vorbiscomment. (diff) | |
| download | zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.gz zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.bz2 zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.lz zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.xz zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.zst zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.zip | |
22556: Multibyte separators and delimiters
Diffstat (limited to 'Functions')
| -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." |
