mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
Automatically install starship config when wanted
This commit is contained in:
@@ -128,6 +128,15 @@ elif [ ! -e ~/.dot/.dot_no_fish ]; then
|
|||||||
done
|
done
|
||||||
fi
|
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
|
if [ ! -e ~/.dot_is_server ] && [ ! -e ~/.dot_no_server ]; then
|
||||||
echo
|
echo
|
||||||
echo "Is this machine a server?"
|
echo "Is this machine a server?"
|
||||||
|
|||||||
Reference in New Issue
Block a user