Skip to content

Instantly share code, notes, and snippets.

@rgaspary
Created December 22, 2021 00:27
Show Gist options
  • Save rgaspary/38030de0d91851f0a2c698c25962556b to your computer and use it in GitHub Desktop.
Save rgaspary/38030de0d91851f0a2c698c25962556b to your computer and use it in GitHub Desktop.
# Inserts a blank line between shell prompts
add_newline = true
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = false
[git_branch]
symbol = "🌱 "
truncation_length = 4
truncation_symbol = ""
[git_commit]
commit_hash_length = 4
tag_symbol = "🔖 "
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"
[git_metrics]
added_style = "bold blue"
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
[git_status]
conflicted = "🏳"
ahead = "🏎💨"
behind = "😰"
diverged = "😵"
up_to_date = "✓"
untracked = "🤷‍"
stashed = "📦"
modified = "📝"
staged = '[++\($count\)](green)'
renamed = "👅"
deleted = "🗑"
[kubernetes]
format = 'on [⛵ $context \($namespace\)](dimmed green) '
disabled = false
[kubernetes.context_aliases]
"dev.local.cluster.k8s" = "dev"
".*/openshift-cluster/.*" = "openshift"
"gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster"
[docker_context]
format = "via [🐋 $context](blue bold)"
[nodejs]
format = "via [🤖 $version](bold green) "
[shell]
bash_indicator = "🍌"
zsh_indicator = "👽"
fish_indicator = "🐟"
unknown_indicator = "mystery shell"
style = "cyan bold"
disabled = false
[username]
style_user = "white bold"
style_root = "black bold"
format = "[$user]($style) "
disabled = false
show_always = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment