packages for arch and others

This commit is contained in:
Anton Volnuhin 2023-05-30 11:18:11 +03:00
parent 585b37cf08
commit 162891d476

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
BASE_PACKAGES="gpg curl wget git gcc" BASE_PACKAGES="gnupg curl wget git gcc"
ACT_PACKAGES="ripgrep fd-find unzip htop fzf bat gawk" ACT_PACKAGES="ripgrep unzip htop fzf bat gawk"
USER=$(whoami) USER=$(whoami)
Green='\033[0;32m' # Green Green='\033[0;32m' # Green
NC='\033[0m' # No Color NC='\033[0m' # No Color
@ -123,14 +123,14 @@ $Green##########################################################################
sleep 3 sleep 3
{{ if eq .chezmoi.os "darwin" -}} {{ if eq .chezmoi.os "darwin" -}}
brew install fish neovim $ACT_PACKAGES atuin jump brew install fish neovim $ACT_PACKAGES atuin jump fd
{{ else if eq .chezmoi.osRelease.id "fedora" -}} {{ else if eq .chezmoi.osRelease.id "fedora" -}}
sudo dnf install neovim fish $ACT_PACKAGES -y sudo dnf install neovim fish $ACT_PACKAGES fd-find -y
nix-env -iA nixpkgs.atuin nixpkgs.jump nix-env -iA nixpkgs.atuin nixpkgs.jump
{{ else if eq .chezmoi.osRelease.id "arch" -}} {{ else if eq .chezmoi.osRelease.id "arch" -}}
sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES fd
nix-env -iA nixpkgs.jump nix-env -iA nixpkgs.jump
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}