feat(starship): add custom configuration
This commit is contained in:
parent
a8e07e47d0
commit
29c01bad46
39
config/starship/config.toml
Normal file
39
config/starship/config.toml
Normal 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)"
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user