dotfiles/setup.sh

22 lines
571 B
Bash
Raw Normal View History

2023-10-10 20:22:26 +00:00
#!/bin/bash
export PATH=$PATH:$HOME/.local/bin
2023-12-21 14:37:29 +00:00
curl -sS https://starship.rs/install.sh | sudo sh -s -- --yes
2024-02-20 16:22:53 +00:00
which chezmoi 2>&1 > /dev/null || sudo sh -c "$(curl -fsLS get.chezmoi.io)" -- -b /usr/local/bin
2023-10-10 20:22:26 +00:00
chezmoi init --apply https://code.icb4dc0.de/prskr/dotfiles.git
if $(which dnf 2>&1 > /dev/null); then
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
sudo dnf install -y \
2023-12-21 14:37:29 +00:00
lsd \
2023-10-10 20:22:26 +00:00
zoxide \
terraform \
helm \
ansible \
python3-kubernetes \
fontawesome-fonts \
fontawesome5-free-fonts
fi