Skip to content

Instantly share code, notes, and snippets.

@afbase
Created June 14, 2023 00:50
Show Gist options
  • Save afbase/eca9d8a11a3231ea1600622e205f7775 to your computer and use it in GitHub Desktop.
Save afbase/eca9d8a11a3231ea1600622e205f7775 to your computer and use it in GitHub Desktop.
# Inserts a blank line between shell prompts
add_newline = false
command_timeout=1000000
# 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"
[directory]
style="bold cyan"
home_symbol="~"
truncate_to_repo=true
read_only="🔒"
read_only_style="bold cyan"
repo_root_style="bold bright-blue"
repo_root_format="[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
format = "$all"
[container]
format = "[$symbol \\[$name\\]]($style) "
symbol = "🐳"
style = "blue"
[gcloud]
format = "[$symbol$active]($style) "
style = "bold yellow"
[git_branch]
symbol = "🌱 "
[git_commit]
commit_hash_length = 6
tag_symbol = "🔖 "
[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 = "🗑"
[ruby]
symbol = "🔺 "
[shell]
fish_indicator = ""
powershell_indicator = "_"
unknown_indicator = "mystery shell"
style = "cyan bold"
disabled = false
[time]
disabled = false
format = '🕙[\[ $time \]]($style) '
time_format = "%FT%T"
utc_time_offset = "0"
[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