File fix-zsh-splitting.patch of Package scout
diff --git a/handlers/bin/command_not_found_zsh b/handlers/bin/command_not_found_zsh
index f811ad2..caf9ede 100644
--- a/handlers/bin/command_not_found_zsh
+++ b/handlers/bin/command_not_found_zsh
@@ -1,5 +1,7 @@
function preexec() {
- command="${1%% *}"
+ local -a commandarray
+ commandarray=("${(z)1}")
+ command="${(Q)commandarray[1]}"
}
function precmd() {