consistency work
This commit is contained in:
parent
4ff8048c08
commit
ff8e12e7e9
@ -1,9 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 ~
|
cd ~
|
||||||
|
|
||||||
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}}
|
{{ 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 $BASE_PACKAGES -y
|
||||||
sudo dnf install fish neovim -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"
|
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
|
sudo dnf install cargo
|
||||||
cargo install atuin
|
cargo install atuin
|
||||||
|
|
||||||
|
echo "USER: $USER"
|
||||||
|
sudo chsh -s /usr/bin/fish $USER
|
||||||
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu"))) -}}
|
{{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu"))) -}}
|
||||||
sudo apt update
|
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" -}}
|
{{ if eq .chezmoi.osRelease.id "debian" -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user