From c17112fbc99e1df2b48a59e3b4c357d52880661c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 7 Nov 2021 18:24:37 +0000 Subject: [PATCH] Add starship config --- bootstrap.sh | 1 + starship.toml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 starship.toml diff --git a/bootstrap.sh b/bootstrap.sh index 9f16c98..cb8edd7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -15,6 +15,7 @@ test -L $HOME/.hushlogin || ln -f -s $BASEDIR/hushlogin $HOME/.hushlogin test -d $HOME/.ncmpcpp || mkdir $HOME/.ncmpcpp test -L $HOME/.ncmpcpp/config || ln -f -s $BASEDIR/ncmpcpp $HOME/.ncmpcpp/config test -L $HOME/.tmux.conf || ln -f -s $BASEDIR/tmux $HOME/.tmux.conf +test -L $HOME/.config/starship.toml || ln -f -s $BASEDIR/starship.toml $HOME/.config/starship.toml test -L $HOME/.zsh || ln -f -s $BASEDIR/zsh $HOME/.zsh test -L $HOME/.zshrc || ln -f -s $BASEDIR/zshrc.zsh $HOME/.zshrc diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..debb54c --- /dev/null +++ b/starship.toml @@ -0,0 +1,10 @@ +# Inserts a blank line between shell prompts +add_newline = true + +# Replace the "❯" symbol in the prompt with "➜" +[character] # The name of the module we are configuring is "character" +success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" + +# Disable the battery module, hiding it from the prompt completely +[battery] +disabled = true