install starship

This commit is contained in:
Ray Elliott 2020-09-03 16:58:45 +01:00
parent e45a7887f7
commit 9a0b60480b
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#!/bin/sh #!/bin/sh
git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen" 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 if [ -e "$HOME/.zshrc" ] ; then
mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)" mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"