Skip to content

Instantly share code, notes, and snippets.

@limpid-kzonix
Created November 14, 2021 11:06
Show Gist options
  • Save limpid-kzonix/3273ee5c290ca48668c8965f6eae371b to your computer and use it in GitHub Desktop.
Save limpid-kzonix/3273ee5c290ca48668c8965f6eae371b to your computer and use it in GitHub Desktop.
# Don't print a new line at the start of the prompt
add_newline = false
scan_timeout = 10
format = """[┌──────────────────────────────────────────────────────┅ ](bold green)
[│](bold green) \
$username\
$hostname\
$time\
$kubernetes\
$git_branch\
$git_commit\
$git_stat\
$git_status\
$docker_context\
$package\
$elixir\
$elm\
$haskell\
$java\
$julia\
$nodejs\
$python\
$rust\
$conda\
$cmd_duration\
$crystal
[└─┈ $directory$character](bold green)"""
[crystal]
symbol = "♦︎"
style = "bold blue"
[julia]
symbol = "∴ "
[nodejs]
symbol = "🟢 "
[directory]
truncation_length = 15
style = "bold yellow"
truncate_to_repo= true
[git_branch]
symbol = " "
truncation_length = 35
truncation_symbol = "~~~"
style = "bold white"
[git_commit]
disabled = false
commit_hash_length = 7
style = "bold red"
[git_state]
progress_divider = " of "
cherry_pick = "🍒 PICKING"
[git_status]
conflicted = "🏳"
ahead = "ﰾ"
behind = "ﱲ"
diverged = "😵"
untracked = "ﰚ"
stashed = "ﰤ"
modified = "ﲃ"
staged = "ﰂ++"
renamed = "ﱏ"
deleted = "🗑"
[jobs]
symbol = "+ "
threshold = 4
[kubernetes]
symbol = "ﱃ "
style = "dim green"
disabled = false
[line_break]
disabled = false
[hostname]
ssh_only = false
style = "bold yellow"
format = "[$hostname]($style).io📡 :: "
trim_at = ".io"
disabled = false
[username]
disabled = false
style_root = "bold red"
style_user = "bold yellow"
show_always = true
format = "🔐 [$user]($style) ☛ "
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[⇝](bold green)" # The "symbol" segment is being set to "➜"
error_symbol = "[☠](bold red)"
vicmd_symbol = "[‹‹](bold green)"
[cmd_duration]
min_time = 2_000
show_milliseconds=true
format="👌 Done - took [$duration]($style)"
style="bold yellow"
min_time_to_notify=45_000
[conda]
symbol = "🅒 "
ignore_base = false
format = "[$symbol$environment](dimmed green) "
[battery]
full_symbol = "⛃"
charging_symbol = "⛂"
discharging_symbol = "ﰏ"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[[battery.display]] # "bold red" style when capacity is between 0% and 10%
threshold = 10
style = "bold red"
[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
threshold = 30
style = "bold yellow"
[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
threshold = 100
style = "bold green"
[rust]
symbol = "⚙ "
[java]
symbol = "♨ "
[time]
disabled = false
format = "at [$time]($style) "
utc_time_offset = -5
style = "bold dimmed white"
[memory_usage]
show_percentage = true
show_swap = true
threshold = -1
symbol = "♲ "
style = "bold dimmed green"
disabled = false
[python]
symbol = "👾 - 🐍 "
pyenv_version_name = true
python_binary = "python3"
pyenv_prefix = "ver "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment