unixorn / fzf-zsh-plugin

ZSH plugin to enable fzf searches of a lot more stuff - docker, tmux, homebrew and more.
Apache License 2.0
312 stars 29 forks source link

Minor syntax error causing plugin to fail parsing #100

Closed toughquestions closed 8 months ago

toughquestions commented 8 months ago

For the commit 502e3670b68a6633c99a95877521ea733d543446 link , getting this error:

/home/user/.zgenom/unixorn/fzf-zsh-plugin/___/fzf-zsh-plugin.plugin.zsh:50: parse error: condition expected: _fzf_has

Changing line 50 https://github.com/unixorn/fzf-zsh-plugin/blob/502e3670b68a6633c99a95877521ea733d543446/fzf-zsh-plugin.plugin.zsh#L50 by removing the brackets to

if ! _fzf_has fzf ; then

seems to fix the issue.

unixorn commented 8 months ago

Fixed by https://github.com/unixorn/fzf-zsh-plugin/pull/99