From b5d738a380d8ccee47abe1bf53da4d35886b88bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9A=D1=80=D0=B0=D0=BC=D0=B0=D1=80=D0=B5=D0=B2?= Date: Wed, 6 Mar 2024 21:03:08 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20"fzf-zsh-plugin.plugin.zsh=E2=80=A6(anon)?= =?UTF-8?q?:50:=20parse=20error:=20condition=20expected:=20=5Ffzf=5Fhas"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexander Kramarev --- fzf-zsh-plugin.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fzf-zsh-plugin.plugin.zsh b/fzf-zsh-plugin.plugin.zsh index 27a765a..54dd4a0 100644 --- a/fzf-zsh-plugin.plugin.zsh +++ b/fzf-zsh-plugin.plugin.zsh @@ -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