Feat: fzf, configs and installer

This commit is contained in:
2023-04-27 22:55:01 +03:00
parent a5db6a465e
commit 383855f23a
7 changed files with 35 additions and 8 deletions

17
scripts/install-fzf.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
#
# Install fzf
#
# shellcheck source=shared.sh
source "$HOME/.dotfiles/scripts/shared.sh"
FZF_GIT="https://github.com/junegunn/fzf.git"
FZF_PATH="${XDG_CONFIG_HOME}/fzf"
if [ ! -d "$FZF_PATH" ]; then
git clone --depth 1 "$FZF_GIT" "$FZF_PATH"
$FZF_PATH/install --xdg --all --no-update-rc
else
msg_done "fzf ($FZF_PATH/) already installed"
fi