jimhester / per-directory-history

Per directory history for zsh, as well as global history, and the ability to toggle between them with ^G.
zlib License
259 stars 36 forks source link

Fix unquoted var borking with "setopt shwordsplit" & whitespace #9

Closed rowanthorpe closed 10 years ago

rowanthorpe commented 10 years ago

When I needed zsh to do wordsplitting Bourne-style (using "setopt shwordsplit") oh-my-zsh borked on an unquoted var. This fixes it.

rowanthorpe commented 10 years ago

(I cloned this PR from the one I did at https://github.com/robbyrussell/oh-my-zsh/pull/3113 as requested)