2020-09-03 15:36:46 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen"
|
2020-09-03 15:58:45 +00:00
|
|
|
|
|
|
|
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"
|
2020-09-03 15:36:46 +00:00
|
|
|
|
|
|
|
if [ -e "$HOME/.zshrc" ] ; then
|
|
|
|
mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"
|
|
|
|
fi
|
|
|
|
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"
|
2020-09-03 16:22:56 +00:00
|
|
|
|
2020-09-03 16:26:37 +00:00
|
|
|
cd /tmp
|
|
|
|
curl -fsSL https://starship.rs/install.sh
|
|
|
|
bash install.sh --yes --bin-dir "$HOME/.config/zsh/starship"
|
|
|
|
rm install.sh
|