feat(starship): add custom configuration

This commit is contained in:
Joao P Dubas 2023-11-09 12:18:32 +00:00
parent de5004dbf5
commit ae874fda02
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,39 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$line_break\
$kubernetes\
$line_break\
$character"""
[git_branch]
format = "[$branch]($style)"
style = "bright-black"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡"
[kubernetes]
format = 'on [⛵ $context \($namespace\)](dimmed green) '
disabled = false
[character]
success_symbol = "[](purple)"
error_symbol = "[](red)"
vicmd_symbol = "[](green)"

View File

@ -9,10 +9,11 @@ services:
entrypoint: sleep
command: infinity
volumes:
- './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom'
- './config/rtx:/home/coder/.config/rtx'
- './config/starship:/home/coder/.config/starship'
- './config/tmux:/home/coder/.config/tmux'
- './config/tmuxp:/home/coder/.config/tmuxp'
- './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom'
- 'home_cache:/home/coder/.cache'
- 'home_local_share:/home/coder/.local/share'
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'