Skip to content

Instantly share code, notes, and snippets.

@spy16
Created December 23, 2020 17:01
Show Gist options
  • Save spy16/671fd4a1c1effc7c6c0cb9703d24c489 to your computer and use it in GitHub Desktop.
Save spy16/671fd4a1c1effc7c6c0cb9703d24c489 to your computer and use it in GitHub Desktop.
format = """
$directory($rust$package$golang$python$ruby$git_branch$git_status$git_state$status)$cmd_duration$character
"""
scan_timeout = 10
add_newline = false
[cmd_duration]
min_time = 500
format = "( 🐌 [$duration](bold yellow))"
[directory]
truncation_length = 15
truncation_symbol = "../"
format="[$path]($style)( [$read_only]($read_only_style))"
read_only="πŸ”’"
truncate_to_repo=true
[character]
success_symbol = " [❯](bold green)"
[git_branch]
symbol = " "
format = " [$symbol$branch]($style)"
[git_status]
format = '( [\[$all_status$ahead_behind\]]($style))'
conflicted="βš”οΈ "
diverged = "🧨 ⇑${ahead_count} ⇣${behind_count}"
ahead = "⇑${count}"
behind = "⇣${count}"
staged = "+"
modified = "*"
[git_state]
format = '[\($state( $progress_current/$progress_total)\)]($style)'
cherry_pick = "[πŸ’](bold red)"
rebase= "πŸ“š"
merge = "🀝"
[status]
symbol = ""
format = '( 🀦[$symbol$status ]($style))'
disabled = false
[package]
format = "( [$version](208 bold))"
[golang]
symbol = ""
format = " [$symbol]($style)"
[python]
symbol = "🐍"
format='[${symbol}${pyenv_prefix}( \($virtualenv\))]($style)'
[ruby]
symbol = "πŸ’Ž"
format = "[$symbol]($style) "
[rust]
symbol="πŸ¦€"
format = " [$symbol](red bold)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment