Skip to content

Instantly share code, notes, and snippets.

@friggeri
Created February 15, 2022 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save friggeri/077011ceada58d4d75f248fb9e048710 to your computer and use it in GitHub Desktop.
Save friggeri/077011ceada58d4d75f248fb9e048710 to your computer and use it in GitHub Desktop.
add_newline = false
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$git_metrics\
$character"""
[directory]
truncation_length = -1
truncate_to_repo = false
style = "cyan"
[character]
success_symbol = "[❯](green)"
error_symbol = "[❯](red)"
[git_branch]
format = "[$branch]($style)"
style = "244"
[git_status]
format = "[[( $conflicted$untracked$modified$staged$renamed$deleted)](yellow) ($ahead_behind$stashed)]($style)"
style = "purple"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "black"
[git_metrics]
disabled = false
added_style = "green"
deleted_style = "red"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment