fix: install starship in setup script

This commit is contained in:
Peter 2023-12-21 15:37:29 +01:00
parent 126aec4485
commit 8df6e121b1
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{{ if (lookPath "starship" | not)}}
{{ if (lookPath "starship" | not) }}
#!/bin/bash
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sh -s -- --yes --bin-dir $HOME/.local/bin
{{ end}}
{{ end }}

View file

@ -2,11 +2,14 @@
export PATH=$PATH:$HOME/.local/bin
curl -sS https://starship.rs/install.sh | sudo sh -s -- --yes
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 \