consistency work

This commit is contained in:
Anton Volnuhin 2023-05-28 03:58:41 +03:00
parent 4ff8048c08
commit ff8e12e7e9

View File

@ -1,9 +1,12 @@
#!/usr/bin/env bash
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 kitty-terminfo gpg git curl wget ripgrep fd-find unzip python3-pip htop fzf bat snapd -y
sudo dnf install fish neovim -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"
@ -12,11 +15,14 @@ sudo snap install jump
sudo dnf install cargo
cargo install atuin
echo "USER: $USER"
sudo chsh -s /usr/bin/fish $USER
{{ end -}}
{{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu"))) -}}
sudo apt update
sudo apt install kitty-terminfo gpg git curl wget ripgrep fd-find unzip python3-pip htop fzf bat snapd -y
sudo apt install $BASE_PACKAGES -y
{{ if eq .chezmoi.osRelease.id "debian" -}}