Files
nixos-config/modules/home/starship.nix
Christoph Schmatzler 52e3c9a177 up
Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
2025-08-21 07:16:11 +00:00

26 lines
722 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
programs.starship = {
enable = true;
enableFishIntegration = true;
settings = {
add_newline = true;
command_timeout = 200;
format = "[$directory$git_branch]($style)$character";
character = {
error_symbol = "[ ](bold #e64553)";
success_symbol = "[](bold #40a02b)[](bold #df8e1d)[](bold #dc8a78)";
};
directory = {
truncation_length = 2;
truncation_symbol = "/";
repo_root_style = "bold cyan";
repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ";
};
git_branch = {
format = "[$branch]($style) ";
style = "bold";
};
};
};
}