mirror of
https://github.com/zoriya/flake.git
synced 2026-05-25 07:53:25 +00:00
Add shlvl in prompt
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user