Skip to content

Instantly share code, notes, and snippets.

@akemrir
Last active November 16, 2022 19:41
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 akemrir/25a5547b23bfce772ecd5e2946e6794d to your computer and use it in GitHub Desktop.
Save akemrir/25a5547b23bfce772ecd5e2946e6794d to your computer and use it in GitHub Desktop.
newest addition
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$cmd_duration\
$python\
$ruby\
$nodejs\
$line_break\
$character"""
[directory]
style = "blue"
read_only = " !"
truncation_length = 10
truncate_to_repo = true # truncates directory to root folder if in github repo
[character]
success_symbol = "[❯](green)"
error_symbol = "[❯](red)"
vimcmd_symbol = "[❮](green)"
[git_branch]
format = "[$branch]($style)"
style = "bright-black"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
conflicted = "​"
untracked = "​"
modified = "​"
staged = "​"
renamed = "​"
deleted = "​"
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[cmd_duration]
format = "[$duration]($style) "
style = "yellow"
[python]
symbol = "🐍"
format = "[$virtualenv]($style) "
style = "bright-black"
[nodejs]
symbol = "🤖"
format = "[$symbol($version)]($style) "
[ruby]
symbol = " "
detect_files = ["Gemfile", ".ruby-version", "Rakefile", "Rakefile.rb", "rakefile", "rakefile.rb"]
# style = "red"
# format = "[$ruby]($style) "
format = "[$symbol($version)]($style) "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment