diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-11 03:39:11 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-11 03:39:11 +0900 |
| commit | db47b93b7248e0e1c772b2e46154a57775423cc3 (patch) | |
| tree | c4daa091897e049e4e9bce11d754f135ac219ebe | |
| parent | 23e245aef9953eaeefe79a01bbfa8d1753b3dfbf (diff) | |
| download | dotfiles-db47b93b7248e0e1c772b2e46154a57775423cc3.tar.gz dotfiles-db47b93b7248e0e1c772b2e46154a57775423cc3.tar.zst dotfiles-db47b93b7248e0e1c772b2e46154a57775423cc3.zip | |
starship: show current shell type
| -rw-r--r-- | home-manager/home.nix | 9 |
1 files changed, 8 insertions, 1 deletions
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 "; + }; }; }; |
