diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-01 00:25:26 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-01 00:25:26 +0900 |
| commit | 5534af3667a8ffa2d7ed73d1f1466a582a88bd88 (patch) | |
| tree | 81fe2503b8173466b0ef90453425d8d36ee3fb4f | |
| parent | 8b5e7709138c5000ba055c764e5553756fb6fb11 (diff) | |
| download | dotfiles-5534af3667a8ffa2d7ed73d1f1466a582a88bd88.tar.gz dotfiles-5534af3667a8ffa2d7ed73d1f1466a582a88bd88.tar.zst dotfiles-5534af3667a8ffa2d7ed73d1f1466a582a88bd88.zip | |
starship: add jobs, nix_shell and direnv components
| -rw-r--r-- | home-manager/home.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix index 7905ed0..d67c199 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -186,7 +186,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$shell$character"; + format = "[$directory$git_branch$git_commit$git_status$git_state](bold fg:75)$fill$cmd_duration$time$line_break$jobs$shell$nix_shell$direnv$character"; continuation_prompt = "[❯](fg:63)[❯](fg:62)[❯](fg:61) "; character = { success_symbol = "[❯](fg:150)[❯](fg:153)[❯](fg:159)"; @@ -228,6 +228,10 @@ in fill = { symbol = " "; }; + jobs = { + style = "white"; + symbol = "+"; + }; shell = { disabled = false; format = "[$indicator]($style)"; @@ -235,6 +239,18 @@ in bash_indicator = "bash "; zsh_indicator = "zsh "; }; + nix_shell = { + format = "[nix]($style) "; + style = "white"; + heuristic = true; + }; + direnv = { + disabled = false; + format = "[$loaded]($style) "; + style = "white"; + loaded_msg = "direnv"; + unloaded_msg = ""; + }; }; }; |
