nix/shell/starship: add shell level
This commit is contained in:
parent
e4e21a3346
commit
3d941845b1
1 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,7 @@
|
||||||
"$git_state"
|
"$git_state"
|
||||||
"$git_metrics"
|
"$git_metrics"
|
||||||
"$git_status"
|
"$git_status"
|
||||||
|
"$shlvl"
|
||||||
"$nix_shell"
|
"$nix_shell"
|
||||||
"$cmd_duration"
|
"$cmd_duration"
|
||||||
"$jobs"
|
"$jobs"
|
||||||
|
@ -24,8 +25,9 @@
|
||||||
|
|
||||||
git_commit.commit_hash_length = 6;
|
git_commit.commit_hash_length = 6;
|
||||||
|
|
||||||
directory = {
|
shlvl = {
|
||||||
truncate_to_repo = true;
|
disabled = false;
|
||||||
truncation_length = 6;
|
format = "[$symbol$shlvl]($style) ";
|
||||||
|
symbol = "↕️ ";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue