34 lines
547 B
Nix
34 lines
547 B
Nix
{ concatStrings }:
|
||
|
||
{
|
||
add_newline = true;
|
||
|
||
format = concatStrings [
|
||
"$directory"
|
||
"$git_branch"
|
||
"$git_commit"
|
||
"$git_state"
|
||
"$git_metrics"
|
||
"$git_status"
|
||
"$shlvl"
|
||
"$nix_shell"
|
||
"$cmd_duration"
|
||
"$jobs"
|
||
"$line_break"
|
||
"$character"
|
||
];
|
||
|
||
character = {
|
||
success_symbol = "[➜](bold green)";
|
||
error_symbol = "[➜](bold red)";
|
||
};
|
||
|
||
git_commit.commit_hash_length = 6;
|
||
|
||
shlvl = {
|
||
disabled = false;
|
||
format = "[$symbol$shlvl]($style) ";
|
||
symbol = "↕️ ";
|
||
threshold = 3;
|
||
};
|
||
}
|