Compare commits

...

2 Commits

Author SHA1 Message Date
Joao P Dubas
29c01bad46 feat(starship): add custom configuration 2023-11-09 12:22:01 +00:00
a8e07e47d0 chore(rtx): add lefthook plugin (#12)
[`lefthook`][0] is a githook manager for any project.

[0]: https://github.com/evilmartians/lefthook

Reviewed-on: #12
2023-11-07 10:47:31 +00:00
4 changed files with 43 additions and 1 deletions

View File

@ -172,6 +172,7 @@ RUN ${XDG_DATA_HOME}/rtx/bin/rtx plugins install \
erlang \
helm \
kubectl \
lefthook \
poetry \
terraform

View File

@ -5,6 +5,7 @@ erlang = "26.1.2"
go = "1.21.3"
helm = "3.13.1"
kubectl = "1.27.7"
lefthook = "1.5.2"
node = "21.1.0"
poetry = "1.6.1"
python = "3.12.0"

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'