Skip to content

Instantly share code, notes, and snippets.

@philpicton
Created November 29, 2022 12:27
Show Gist options
  • Select an option

  • Save philpicton/a232b9662f07e8ce44409f7a03fed8b9 to your computer and use it in GitHub Desktop.

Select an option

Save philpicton/a232b9662f07e8ce44409f7a03fed8b9 to your computer and use it in GitHub Desktop.
Starship config
format = """
$username\
$hostname💾 \
$directory\
$git_branch\
$git_state\
$git_status\
$cmd_duration\
$line_break\
$python\
$character"""
command_timeout = 5000
[directory]
style = "blue"
[character]
success_symbol = "[✨](purple)"
error_symbol = "[✖︎](red)"
vicmd_symbol = "[❮](green)"
[git_branch]
format = "on [$branch]($style)™️ "
style = "yellow"
[git_status]
format = "[[(* $conflicted$untracked$modified$staged$renamed$deleted)](218)($ahead_behind$stashed)]($style)"
ahead = "⇡${count} "
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
behind = "⇣${count} "
style = "cyan"
conflicted = "​[💀$count ](red)​"
untracked = "[😮$count ](green)​"
modified = "[🚧$count ](yellow)"
staged = "[🤓$count ](green)"
renamed = "🖋️ ​"
deleted = "[🗑$count ](bright-black)"
stashed = "[📦$count ](purple)"
up_to_date = "[up to date 🥳 ](purple)"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[cmd_duration]
format = "[$duration]($style) "
style = "cyan"
[python]
format = "[$virtualenv]($style) "
style = "bright-black"
@philpicton
Copy link
Author

How to use

  • install starship
  • place this file at ~/.config/starship.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment