diff --git a/run_once_before_install_main_deps.sh.tmpl b/run_once_before_install_main_deps.sh.tmpl index 2179e8b..6217564 100644 --- a/run_once_before_install_main_deps.sh.tmpl +++ b/run_once_before_install_main_deps.sh.tmpl @@ -1,18 +1,18 @@ #!/usr/bin/env bash -BASE_PACKAGES = "kitty-terminfo gpg git curl wget ripgrep fd-find unzip python3-pip htop fzf bat snapd" +BASE_PACKAGES="kitty-terminfo gpg git curl wget ripgrep fd-find unzip python3-pip htop fzf bat snapd" USER=$(whoami) cd ~ {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}} -sudo dnf install ${BASE_PACKAGES} -y +sudo dnf install $BASE_PACKAGES -y sudo dnf install fish neovim util-linux-user -y fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" sudo snap install jump -sudo dnf install cargo +sudo dnf install cargo -y cargo install atuin echo "USER: $USER" @@ -22,7 +22,7 @@ sudo chsh -s /usr/bin/fish $USER {{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu"))) -}} sudo apt update -sudo apt install ${BASE_PACKAGES} -y +sudo apt install $BASE_PACKAGES -y {{ if eq .chezmoi.osRelease.id "debian" -}}