fix a bunch o things

Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-08-19 09:20:31 +00:00
parent 0785b817d2
commit ff05c4fd9e
4 changed files with 36 additions and 37 deletions

View File

@@ -1,33 +1,24 @@
{lib, ...}: {
{
programs.starship = {
enable = true;
enableFishIntegration = true;
settings = {
add_newline = true;
command_timeout = 750;
format = lib.concatStrings [
"$directory"
"$git_branch"
"$git_status"
"$git_metrics"
"$line_break"
"$character"
];
command_timeout = 200;
format = "[$directory$git_branch]($style)$character";
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
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) ";
};
git_metrics = {
disabled = false;
added_style = "bold green";
format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
format = "[$branch]($style) ";
style = "bold";
};
};
};