about summary refs log tree commit diff
path: root/Functions/Zle/split-shell-arguments
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-02-18 22:08:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-02-18 22:08:45 +0000
commit212ca9edf9c2be0499cdce39326abba57b088bcd (patch)
treeb14bcc7e91fb33213b349914c477d9c22cd8a25d /Functions/Zle/split-shell-arguments
parent6be3fe2fca7d904ce4c83303a1b23e36ed45a084 (diff)
downloadzsh-212ca9edf9c2be0499cdce39326abba57b088bcd.tar.gz
zsh-212ca9edf9c2be0499cdce39326abba57b088bcd.tar.xz
zsh-212ca9edf9c2be0499cdce39326abba57b088bcd.zip
28772: Update regions in region highlight dynamically
Diffstat (limited to 'Functions/Zle/split-shell-arguments')
-rw-r--r--Functions/Zle/split-shell-arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/split-shell-arguments b/Functions/Zle/split-shell-arguments
index ee737a067..32b04fcb5 100644
--- a/Functions/Zle/split-shell-arguments
+++ b/Functions/Zle/split-shell-arguments
@@ -15,7 +15,7 @@ local -a bufwords lbufwords
 local word
 integer pos=1 cpos=$((CURSOR+1)) opos iword ichar
 
-bufwords=(${(z)BUFFER})
+bufwords=(${(Z+n+)BUFFER})
 
 reply=()
 while [[ ${BUFFER[pos]} = [[:space:]] ]]; do