From f590165f13f82e3890de164faab98c11d3540547 Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Sat, 27 Jan 2024 14:12:41 -0700 Subject: [PATCH] add fzf to linux --- .github/workflows/ci.yml | 1 - run_once_before_install-packages-linux.sh.tmpl | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71845ef..7045eb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,6 @@ jobs: - name: Install run: | export BRANCH=${{ github.head_ref || github.ref_name }} - echo $BRANCH chezmoi init https://github.com/marchdf/dotfiles.git --branch ${BRANCH} --promptBool test_machine=t,"Use ZSH_ROOT_DIR for tmux shell"=f --promptString email="" chezmoi data chezmoi apply diff --git a/run_once_before_install-packages-linux.sh.tmpl b/run_once_before_install-packages-linux.sh.tmpl index d77f777..fc5f996 100644 --- a/run_once_before_install-packages-linux.sh.tmpl +++ b/run_once_before_install-packages-linux.sh.tmpl @@ -5,4 +5,9 @@ if [[ ! -x "$(command -v pyenv)" ]]; then curl https://pyenv.run | bash fi +if [[ ! -x "$(command -v fzf)" ]]; then + git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf + ~/.fzf/install --all +fi + {{ end -}}