robbyrussell/oh-my-zsh — Issue #798: omz_termsupport_preexec problem with spaces in the command
Author: rys
Created: 2012-01-01 23:37:34+00:00
State: open

When CMD is set in omz_termsupport_preexec, it misparses the command if there's a space in it.

For example, if I run the following in the shell:
```
ssh username@`cat hostname.txt`
```
CMD will get set to:
```
username@`cat
```
I think there's then a follow-on problem with the ` char and expansion, since that resulting string gets passed to title() which passes it to print which then falls over since there's no matching quote.

Sorry I've not got a patch; I don't understand zsh globbing enough to attempt to fix it.