Skip to content

Instantly share code, notes, and snippets.

@jdugarte
Last active May 26, 2024 16:18
Show Gist options
  • Save jdugarte/cadabae162946496aade7a45e34c84c2 to your computer and use it in GitHub Desktop.
Save jdugarte/cadabae162946496aade7a45e34c84c2 to your computer and use it in GitHub Desktop.
~/.config/starship.toml
add_newline = true
format = "(\\[$git_branch$git_status$git_state$git_delta\\] )$directory[>](bright-green) "
right_format = "\\[ $status$cmd_duration$time \\]"
[directory]
format = '[$path ]($style)'
style = 'bright-yellow'
truncation_length = 0
repo_root_style = 'bright-green'
before_repo_root_style = 'bright-blue'
[git_branch]
format = '[($branch)]($style)'
style = 'bright-blue'
[git_status]
format = '([$staged$modified](red))'
modified = '*'
staged = '!'
[git_state]
format = '[ \($state: $progress_current of $progress_total\)](red) '
[git_metrics]
disabled = false
[ruby]
format = '[$symbol($version )]($style)'
version_format = '${raw}'
[status]
disabled = false
style = 'fg:196'
symbol = ''
format = '[$symbol $status]($style)[ | ](bright-black)'
[cmd_duration]
format = '[⏲ ($duration)](yellow)[ | ](bright-black)'
show_notifications = true
min_time_to_notify = 45_000
[time]
format = '[$time]($style)'
style = 'bright-black'
time_format = '%a %R'
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment