From ee7f78e99cfa5f9375a2344d63e37b12fb31e063 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 5 Jun 2025 18:23:49 -0700 Subject: [PATCH] starship: add shell indicator --- dotfiles/config/fish/config.fish | 2 +- dotfiles/config/starship.toml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dotfiles/config/fish/config.fish b/dotfiles/config/fish/config.fish index 56788cc..aa09fdc 100644 --- a/dotfiles/config/fish/config.fish +++ b/dotfiles/config/fish/config.fish @@ -4,7 +4,7 @@ if test -x /opt/homebrew/bin/brew end if command -q starship - source (starship init fish --print-full-init | psub) + starship init fish --print-full-init | source end # Want this at the bottom to put this path first diff --git a/dotfiles/config/starship.toml b/dotfiles/config/starship.toml index 806885d..9881c13 100644 --- a/dotfiles/config/starship.toml +++ b/dotfiles/config/starship.toml @@ -17,3 +17,13 @@ show_always = true [ruby] detect_variables = [] + +[shell] +fish_indicator = '󰈺 ' +zsh_indicator = '' +bash_indicator = '' +powershell_indicator = '_' +unknown_indicator = '??' +style = 'cyan bold' +disabled = false +format = '[$indicator]($style)'