Skip to content

Instantly share code, notes, and snippets.

@xxKeefer
Forked from ryo-ARAKI/starship.toml
Last active January 5, 2021 16:04
Show Gist options
  • Save xxKeefer/94707d60c8edec6c0df245dcfe598e72 to your computer and use it in GitHub Desktop.
Save xxKeefer/94707d60c8edec6c0df245dcfe598e72 to your computer and use it in GitHub Desktop.
Starship configuration file
# ~/.config/starship.toml
[character]
error_symbol = "[πŸ’” :](bold red) "
success_symbol = "[πŸ–₯ :](bold green)"
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 5
format = "β˜…β˜… [$path]($style)[$lock_symbol]($lock_style) "
[git_branch]
format = " [$symbol$branch]($style) "
symbol = "🌿 "
style = "bold yellow"
[git_state]
progress_divider = " of "
[git_status]
conflicted = "πŸ”΄ "
ahead = "πŸ”ΊΓ—${count} "
behind = "πŸ”»Γ—${count} "
diverged = "πŸ”€ πŸ”ΊΓ—${ahead_count} πŸ”»Γ—${behind_count} "
untracked = "πŸ”Γ—${count} "
stashed = "πŸ“₯ "
modified = "πŸ”“Γ—${count} "
staged = "πŸ”’Γ—${count} "
renamed = "βœ¨Γ—${count} "
deleted = "πŸ”₯Γ—${count} "
style = "bright-white"
format = "$all_status$ahead_behind"
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
[package]
disabled = true
[python]
format = "[$symbol$version]($style) "
style = "bold green"
[time]
time_format = "%T"
format = "[πŸ•™ $time]($style) "
style = "bold bright-green"
disabled = false
[username]
style_user = "bold dimmed blue"
show_always = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment