Compare commits

...

2 Commits

Author SHA1 Message Date
432837c6b3 chore(deps): update dependency node to v22.7.0 2024-08-22 18:29:39 +00:00
f059ce2079 feat(starship): add two folders to represent directory (#61)
This overrides the git truncation, which shows only the path and makes it easier to work with git worktrees.

Reviewed-on: #61
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-08-22 18:21:33 +00:00
2 changed files with 9 additions and 2 deletions

View File

@ -22,7 +22,7 @@ kubie = "0.23.1"
lefthook = "1.7.13"
lua = "5.1.5"
luajit = "2.0.5--2.4.4"
node = "22.6.0"
node = "22.7.0"
poetry = "1.8.3"
python = "3.12.5"
r = "4.4.1"

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)"