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:
parent
b5ce962e65
commit
a0afcc6643
@ -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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user