Add shlvl in prompt

This commit is contained in:
2024-12-13 15:06:15 +01:00
parent 88f3698e76
commit 640bf03de5
+10
View File
@@ -68,6 +68,7 @@
"$line_break"
"$directory"
"[(\\($git_branch$git_commit$git_status$git_state\\) )](green)"
"$shlvl"
"$character"
];
@@ -151,6 +152,15 @@
hostname = {
format = "[ $ssh_symbol$hostname]($style)";
};
shlvl = {
disabled = false;
format = "[$symbol]($style)";
repeat = true;
symbol = "";
repeat_offset = 1;
threshold = 0;
};
};
};