dotfiles/setup.sh

22 lines
No EOL
571 B
Bash
Executable file

#!/bin/bash
export PATH=$PATH:$HOME/.local/bin
curl -sS https://starship.rs/install.sh | sudo sh -s -- --yes
which chezmoi 2>&1 > /dev/null || sudo sh -c "$(curl -fsLS get.chezmoi.io)" -- -b /usr/local/bin
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 \
lsd \
zoxide \
terraform \
helm \
ansible \
python3-kubernetes \
fontawesome-fonts \
fontawesome5-free-fonts
fi