From 9a0b60480b3dac075cac200cbfa3a73688668e1b Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 3 Sep 2020 16:58:45 +0100 Subject: [PATCH] install starship --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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)"