Skip to content

Instantly share code, notes, and snippets.

@mcascone
Created August 6, 2024 14:53
Show Gist options
  • Save mcascone/8469db286d56cbe4e903d16978521c35 to your computer and use it in GitHub Desktop.
Save mcascone/8469db286d56cbe4e903d16978521c35 to your computer and use it in GitHub Desktop.
Starship config .toml file
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$git_commit\
$cmd_duration\
$line_break\
$aws\
$gcloud\
$kubernetes\
$shell\
$character\
$line_break\
"""
[directory]
style = "blue"
truncate_to_repo = false
[character]
success_symbol = "[>](purple)"
error_symbol = "[❯](red)"
vimcmd_symbol = "[❮](green)"
[git_branch]
format = "[$branch]($style)"
style = "bright-green"
[git_status]
format = "[[($up_to_date$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$diverged$stashed)]($style)"
style = "cyan"
up_to_date = '✅'
conflicted = "​"
untracked = "​"
modified = "​"
staged = "​"
renamed = "​"
deleted = "​"
stashed = "≡"
ahead = '🔺${count}'
diverged = '⇕🔺${ahead_count} 🔻${behind_count}'
behind = '🔻${count}'
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)) '
style = "bright-black"
[cmd_duration]
format = "[$duration]($style) "
style = "yellow"
[python]
disabled = true
format = "[$virtualenv]($style) "
style = "bright-black"
[aws]
disabled = true
[gcloud]
disabled = true
format = '[$symbol$account(@$domain)(($project))]($style)'
style = "bold bright-red"
[gcloud.project_aliases]
parabolic-eon-374320 = 'My First Project'
[kubernetes]
disabled = true
format = ' [$symbol$context ($namespace)]($style)'
[line_break]
disabled = true
[shell]
disabled = false
bash_indicator = ' BASH'
zsh_indicator = ''
powershell_indicator = 'PS'
unknown_indicator = '?'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment