agkozak/zsh-z

_zshz_find_matches:68: error in flags

ravenxrz opened this issue · 5 comments

�I installed this plugin on my mac and centos 7 manually. Both use the same config.
But mac runs perfectly, centos not, and leaves "_zshz_find_matches:68: error in flags" message on my terminal.
Any idea to fix this? Thx in advance.

Thanks for reporting this error.

Could you confirm for me the version of ZSH you're using on CentOS? You can find that easily by typing

echo $ZSH_VERSION

Thanks!

It looks to me as if a patch introduced a while back uses a flag that only works in newer versions of ZSH. I am keen, however, to keep ZSH-z working with ZSH versions going back as far as 4.3.11, so if you give me a few days, I'll come up with a way to do the same thing without using that flag.

Try what I just put on the escaped_path_field branch to see if it fixes your problem.

Thanks for reporting this error.

Could you confirm for me the version of ZSH you're using on CentOS? You can find that easily by typing

echo $ZSH_VERSION

Thanks!

The version is 5.0.2 on CentOS.

Try what I just put on the escaped_path_field branch to see if it fixes your problem.

Cool! everything works fine now. Thank you for this amazing plugin.

@ravenxrz Thanks for your feedback. I have merged the changes to master, so you may switch back to using that.