mirror of
https://github.com/ChrisTitusTech/mybash.git
synced 2026-04-11 23:18:18 +00:00
6
setup.sh
6
setup.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user