Compare commits

...

2 Commits

Author SHA1 Message Date
f05abec6f8 chore(deps): update dependency terraform to v1.9.5 2024-08-22 18:29:36 +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

@ -30,7 +30,7 @@ ripgrep = "14.1.0"
rust = "1.80.1"
starship = "1.20.1"
task = "3.38.0"
terraform = "1.9.4"
terraform = "1.9.5"
tilt = "0.33.19"
tmux = "3.4"
usage = "0.3.0"

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