Skip to content

Instantly share code, notes, and snippets.

@itsgg
Created August 27, 2023 10:41
Show Gist options
  • Save itsgg/370505656f4e3495ad31cb1f09a4293a to your computer and use it in GitHub Desktop.
Save itsgg/370505656f4e3495ad31cb1f09a4293a to your computer and use it in GitHub Desktop.
starship.toml
format = """$directory$git_branch$git_status$git_metrics$cmd_duration$line_break$character"""
right_format = """$gcloud$kubernetes$ruby$java$nodejs$python"""
[cmd_duration]
format = '[$duration]($style) '
[directory]
format = '[$path]($style) '
fish_style_pwd_dir_length = 1
[kubernetes]
format = '[$symbol$context( \($namespace\))]($style) '
disabled = false
style = 'green'
[kubernetes.context_aliases]
'gke_qai-staging_us-east1_staging-main' = 'q-staging'
'gke_qai-production_us-east1_production-main' = 'q-production'
[gcloud]
format = '[$symbol$project(\($region\))]($style) '
[git_branch]
format = '[$symbol$branch(:$remote_branch)]($style) '
style = 'yellow'
[ruby]
format = '[$symbol$version]($style) '
[java]
format = '[$symbol$version]($style) '
[python]
format = '[$symbol$version]($style) '
[nodejs]
format = '[$symbol$version]($style) '
symbol = '☕ '
[git_metrics]
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment