mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-13 04:04:03 +00:00
fix(scripts): fzf install script tweaks
This commit is contained in:
@@ -7,10 +7,13 @@ source "$HOME/.dotfiles/scripts/shared.sh"
|
|||||||
|
|
||||||
FZF_GIT="https://github.com/junegunn/fzf.git"
|
FZF_GIT="https://github.com/junegunn/fzf.git"
|
||||||
FZF_PATH="${XDG_CONFIG_HOME}/fzf"
|
FZF_PATH="${XDG_CONFIG_HOME}/fzf"
|
||||||
|
FZF_BUILD="/tmp/fzf"
|
||||||
|
|
||||||
if [ ! -d "$FZF_PATH" ]; then
|
if [ ! -d "$FZF_BUILD" ]; then
|
||||||
git clone --depth 1 "$FZF_GIT" "$FZF_PATH"
|
git clone --depth 1 "$FZF_GIT" "$FZF_BUILD"
|
||||||
"$FZF_PATH/install" --xdg --all --no-update-rc
|
"$FZF_BUILD/install" \
|
||||||
|
--xdg \
|
||||||
|
--bin
|
||||||
else
|
else
|
||||||
msg_done "fzf ($FZF_PATH/) already installed"
|
msg_done "fzf ($FZF_PATH/) already installed"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user