This commit is contained in:
2025-08-16 14:46:16 +02:00
parent 8d4ea15585
commit 88bcacf521
33 changed files with 53 additions and 41 deletions

34
modules/home/starship.nix Normal file
View File

@@ -0,0 +1,34 @@
{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"
];
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
git_branch = {
format = " [ $branch]($style) ";
};
git_metrics = {
disabled = false;
added_style = "bold green";
format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
};
};
};
}