diff --git a/install.sh b/install.sh index a435569..9bad348 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,12 @@ #!/bin/sh git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen" +curl -fsSL https://starship.rs/install.sh | bash + +if [ -e "$HOME/.config/starship" ] ; then + mv "$HOME/.config/starship" "$HOME/.config/starship-original-$(date +%s)" +fi +git clone https://git.rayelliott.dev/dots/starship-prompt.git "$HOME/.config/starship" if [ -e "$HOME/.zshrc" ] ; then mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"