diff --git a/shared/home/bash.nix b/shared/home/bash.nix index 93df54f..5d875d4 100644 --- a/shared/home/bash.nix +++ b/shared/home/bash.nix @@ -69,13 +69,30 @@ in with lib; { programs.starship = { enable = true; settings = { + add_newline = false; format = '' - ┌── $directory$git_branch$cmd_duration$sudo - └ $character + $username at $hostname // $directory$git_branch $character ''; character = { - success_symbol = "[>](bold green)"; - error_symbol = "[✖](bold red)"; + success_symbol = "[>](bold #1fed71)"; + error_symbol = "[!](bold #ff8426)"; + }; + username = { + show_always = true; + format = "[$user]($style)"; + style_user = "bold #40de46"; + }; + hostname = { + ssh_only = false; + format = "[$hostname]($style)"; + style = "bold #1fb8ff"; + }; + directory = { + format = "[$path]($style)"; + }; + git_branch = { + format = " :: [$symbol$branch]($style)"; + style = "bold #c745ff"; }; }; };