fix: install starship in setup script
This commit is contained in:
parent
126aec4485
commit
8df6e121b1
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ if (lookPath "starship" | not)}}
|
{{ if (lookPath "starship" | not) }}
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sh -s -- --yes --bin-dir $HOME/.local/bin
|
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sh -s -- --yes --bin-dir $HOME/.local/bin
|
||||||
{{ end}}
|
{{ end }}
|
3
setup.sh
3
setup.sh
|
@ -2,11 +2,14 @@
|
||||||
|
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
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
|
chezmoi init --apply https://code.icb4dc0.de/prskr/dotfiles.git
|
||||||
|
|
||||||
if $(which dnf 2>&1 > /dev/null); then
|
if $(which dnf 2>&1 > /dev/null); then
|
||||||
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
||||||
sudo dnf install -y \
|
sudo dnf install -y \
|
||||||
|
lsd \
|
||||||
zoxide \
|
zoxide \
|
||||||
terraform \
|
terraform \
|
||||||
helm \
|
helm \
|
||||||
|
|
Loading…
Reference in a new issue