From 75666f9add5675f396fedcbdee4d626a5e60d65a Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 1 Apr 2025 16:13:08 +0200 Subject: [PATCH] Automatically install starship config when wanted --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install.sh b/install.sh index f15fdbc..9fe7b0e 100644 --- a/install.sh +++ b/install.sh @@ -128,6 +128,15 @@ elif [ ! -e ~/.dot/.dot_no_fish ]; then done fi +echo +echo "Do you wish to install the starship prompt?" +select yn in "Yes" "No"; do + case $yn in + Yes ) make_link $DIR ".config/starship.yml"; curl -sS https://starship.rs/install.sh | sh; break;; + No ) break;; + esac +done + if [ ! -e ~/.dot_is_server ] && [ ! -e ~/.dot_no_server ]; then echo echo "Is this machine a server?"