From cd550ea3fe8d50fe0148339548bc70abf28ee707 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 1 Apr 2025 16:12:54 +0200 Subject: [PATCH 1/2] direnv is used by the fish configuration --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cc8660..0f729f0 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ ln -s ../.dot/dotfiles/.config/starship.toml To have the full experience, install all of these: ```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: sudo apt install cmake build-essentials # also, this classic: From 75666f9add5675f396fedcbdee4d626a5e60d65a Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 1 Apr 2025 16:13:08 +0200 Subject: [PATCH 2/2] 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?"