From db47b93b7248e0e1c772b2e46154a57775423cc3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 11 Mar 2025 03:39:11 +0900 Subject: starship: show current shell type --- home-manager/home.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index b45e445..61fdff0 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -159,7 +159,7 @@ in settings = { add_newline = true; command_timeout = 1000; - format = "[$directory$git_branch$git_commit$git_status$git_state](bold fg:75)$fill$cmd_duration$time$line_break$character"; + format = "[$directory$git_branch$git_commit$git_status$git_state](bold fg:75)$fill$cmd_duration$time$line_break$shell$character"; continuation_prompt = "[❯](fg:63)[❯](fg:62)[❯](fg:61) "; character = { success_symbol = "[❯](fg:150)[❯](fg:153)[❯](fg:159)"; @@ -201,6 +201,13 @@ in fill = { symbol = " "; }; + shell = { + disabled = false; + format = "[$indicator]($style)"; + fish_indicator = ""; + bash_indicator = "bash "; + zsh_indicator = "zsh "; + }; }; }; -- cgit v1.2.3-70-g09d2