feat(starship): add two folders to represent directory

This overrides the git truncation, were only on path is showed, and make
it easier to work with git worktrees.
This commit is contained in:
2024-08-22 18:15:20 +00:00
parent b5ce962e65
commit a0afcc6643

View File

@@ -1,3 +1,5 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$username\
$hostname\
@@ -8,7 +10,12 @@ $git_status\
$line_break\
$kubernetes\
$line_break\
$character"""
$character
"""
[directory]
truncation_length = 2
truncate_to_repo = false
[git_branch]
format = "[$branch]($style)"