1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-05-07 05:32:35 +02:00

2 Commits

Author SHA1 Message Date
diginaut 75666f9add Automatically install starship config when wanted 2025-04-01 16:13:08 +02:00
diginaut cd550ea3fe direnv is used by the fish configuration 2025-04-01 16:12:54 +02:00
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ ln -s ../.dot/dotfiles/.config/starship.toml
To have the full experience, install all of these: To have the full experience, install all of these:
```bash ```bash
sudo apt install git curl vim-nox fzf ripgrep exuberant-ctags fish grc tmux htop sudo apt install git curl vim-nox fzf ripgrep exuberant-ctags fish grc tmux htop direnv
# needed for building vim plugins: # needed for building vim plugins:
sudo apt install cmake build-essentials sudo apt install cmake build-essentials
# also, this classic: # also, this classic:
+9
View File
@@ -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?"