install starship in zsh config dir
This commit is contained in:
parent
9a0b60480b
commit
4ac2861c54
|
@ -1,7 +1,6 @@
|
|||
#!/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)"
|
||||
|
@ -12,3 +11,5 @@ if [ -e "$HOME/.zshrc" ] ; then
|
|||
mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"
|
||||
fi
|
||||
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"
|
||||
|
||||
curl -fsSL https://starship.rs/install.sh --yes --bin-dir "$HOME/.config/zsh/starship" | bash
|
||||
|
|
Loading…
Reference in New Issue