diff --git a/run_onchange_before_install_main_deps.sh.tmpl b/run_onchange_before_install_main_deps.sh.tmpl index defe3b0..ea9697f 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -129,8 +129,11 @@ sleep 3 {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} sudo apt install fish $ACT_PACKAGES -y nix-env -iA nixpkgs.neovim nixpkgs.jump - bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh) - + if ! fish -c atuin &>/dev/null + then + bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh) + fi + {{ else if eq .chezmoi.os "darwin" -}} brew install fish neovim $ACT_PACKAGES atuin jump -y