nix/shell/starship: add shell level

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-24 15:07:45 +03:00
parent e4e21a3346
commit 3d941845b1
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -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 = " ";
}; };
} }