Skip to content

Instantly share code, notes, and snippets.

@JasonMorgan
Created June 21, 2021 16:40
Show Gist options
  • Save JasonMorgan/10c4f2deec75e1a218d5cb469c14c0c4 to your computer and use it in GitHub Desktop.
Save JasonMorgan/10c4f2deec75e1a218d5cb469c14c0c4 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 = true
[hostname]
ssh_only = false
format = "[$hostname](bold green) "
[username]
show_always = true
format = "[$user]()@"
[git_branch]
symbol = ""
# truncation_length = 4
# truncation_symbol = ""
[git_commit]
commit_hash_length = 4
tag_symbol = "🔖 "
[git_state]
[git_status]
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
conflicted = "🏳"
untracked = "🤷${count}"
stashed = "📦${count}"
modified = "📝${count}"
staged = '[++\($count\)](green)'
deleted = "✘${count}"
[directory]
truncate_to_repo = false
truncation_symbol = ".../"
[env_var]
[kubernetes]
format = 'on \[[$context:](red)[$namespace](cyan)\] '
# symbol = "☸ "
disabled = false
[kubernetes.context_aliases]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment