summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-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