soheilpro / zsh-vi-search

Adds support for searching the current line (in normal vi mode) to zsh.
MIT License
12 stars 2 forks source link

Not working when "sh_word_split" enabled #2

Closed aoyama-val closed 6 years ago

aoyama-val commented 6 years ago

Adding setopt localoptions no_sh_word_split in every function fixed the problem for me: https://github.com/aoyama-val/zsh-vi-search/commit/b2b0936eaa9381e8acd9e59030a4d6346626e3e5

Thank you for the neat plugin! This is exactly what I was looking for.

soheilpro commented 6 years ago

I didn't know about this option.

Thanks for the fix and the kind words.