Merge pull request #9 from joser93/checkStarship

Check starship
This commit is contained in:
Chris Titus
2022-11-04 09:16:39 -04:00
committed by GitHub

View File

@@ -37,6 +37,12 @@ installDepend(){
}
installStarship(){
STARSHIP_CMD==$(which starship)
if [[ ! -z $STARSHIP_CMD ]]; then
echo "Starship already installed"
return
fi
if ! curl -sS https://starship.rs/install.sh|sh;then
echo -e "${RED}Something went wrong during starship install!${RC}"
exit 1