2022-08-24 14:02:45 +03:00
|
|
|
|
{ concatStrings }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
add_newline = true;
|
|
|
|
|
|
|
|
|
|
format = concatStrings [
|
|
|
|
|
"$directory"
|
|
|
|
|
"$git_branch"
|
|
|
|
|
"$git_commit"
|
|
|
|
|
"$git_state"
|
|
|
|
|
"$git_metrics"
|
|
|
|
|
"$git_status"
|
2022-08-24 15:07:45 +03:00
|
|
|
|
"$shlvl"
|
2022-08-24 14:02:45 +03:00
|
|
|
|
"$nix_shell"
|
|
|
|
|
"$cmd_duration"
|
|
|
|
|
"$jobs"
|
|
|
|
|
"$line_break"
|
|
|
|
|
"$character"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
character = {
|
|
|
|
|
success_symbol = "[➜](bold green)";
|
|
|
|
|
error_symbol = "[➜](bold red)";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
git_commit.commit_hash_length = 6;
|
|
|
|
|
|
2022-08-24 15:07:45 +03:00
|
|
|
|
shlvl = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
format = "[$symbol$shlvl]($style) ";
|
|
|
|
|
symbol = "↕️ ";
|
2022-08-28 14:54:01 +03:00
|
|
|
|
threshold = 3;
|
2022-08-24 14:02:45 +03:00
|
|
|
|
};
|
|
|
|
|
}
|