Skip to content

Commit

Permalink
Fix "fzf-zsh-plugin.plugin.zsh…(anon):50: parse error: condition expe…
Browse files Browse the repository at this point in the history
…cted: _fzf_has"

Signed-off-by: Alexander Kramarev <[email protected]>
  • Loading branch information
pochemuto authored and Alexander Kramarev committed Mar 6, 2024
1 parent 502e367 commit b5d738a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fzf-zsh-plugin.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
unset xdg_path

# Install fzf into ~ if it hasn't already been installed.
if [[ ! _fzf_has fzf ]]; then
if ! _fzf_has fzf; then
if [[ ! -d $FZF_PATH ]]; then
git clone --depth 1 https://github.com/junegunn/fzf.git $FZF_PATH
$FZF_PATH/install --bin
Expand Down

0 comments on commit b5d738a

Please sign in to comment.