correctly install fzf

This commit is contained in:
Daniel Bauer
2023-03-21 08:41:52 +01:00
parent 94a192b651
commit 3ca90b0ab9

View File

@@ -1,10 +1,8 @@
#!/bin/bash
# fzf # fzf
if [ ! -d "$HOME/.fzf" ]; then if [ ! -d "$HOME/.fzf" ]; then
git clone --depth 1 https://github.com/junegunn/fzf.git $HOME/.fzf git clone --depth 1 https://github.com/junegunn/fzf.git $HOME/.fzf
if [ ! -f "$HOME/.fzf/bin" ]; then if [ ! -f "$HOME/.fzf/bin" ]; then
$HOME/.fzf/install --bin $HOME/.fzf/install --completion --key-bindings --update-rc
fi fi
fi fi
@@ -50,8 +48,6 @@ else
echo "antidote already exists." echo "antidote already exists."
fi fi
# reload shell
source ~/.zshrc
fi fi