dotfiles/.chezmoiscripts/run_install_starship.sh.tmpl

5 lines
218 B
Cheetah
Raw Normal View History

2023-10-10 20:22:26 +00:00
{{ if (lookPath "starship" | not)}}
#!/bin/bash
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | {{ if ne .chezmoi.uid "0" }} sudo -E {{ end -}} sh -s -- --yes --bin-dir $HOME/.local/bin
{{ end}}