about summary refs log tree commit diff
path: root/Functions/Zle/split-shell-arguments
diff options
context:
space:
mode:
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