Skip to content

Instantly share code, notes, and snippets.

@raysubham
Last active December 11, 2022 14:22
Show Gist options
  • Save raysubham/9307be7d3dc68d01620b4c221585d973 to your computer and use it in GitHub Desktop.
Save raysubham/9307be7d3dc68d01620b4c221585d973 to your computer and use it in GitHub Desktop.
Starship Config
add_newline = true
format = "$all"
[battery]
full_symbol = "πŸ”‹"
charging_symbol = "⚑️"
discharging_symbol = "πŸ’€"
disabled = true
[[battery.display]]
threshold = 10
style = "bold red"
[[battery.display]]
threshold = 60
style = "bold yellow"
[[battery.display]]
threshold = 100
style = "bold green"
[character]
success_symbol = "➜"
error_symbol = "βœ—"
[cmd_duration]
min_time = 500
format = "took [$duration]($style) "
style = "bold yellow"
[directory]
truncation_length = 6
truncate_to_repo = true
read_only = "πŸ”’"
format = " [$path]($style)[$read_only]($read_only_style) "
style = "bold cyan"
disabled = false
[env_var]
format = "with [$env_value]($style) "
style = "bold peach"
[git_branch]
symbol = "⚑️ "
truncation_length = 8
truncation_symbol = "..."
style = "bold #F58A07"
disabled = false
[git_state]
cherry_pick = "CHERRY PICKING"
rebase = "REBASING"
merge = "MERGING"
revert = "REVERTING"
bisect = "BISECTING"
am = "AM"
am_or_rebase = "AM/REBASE"
style = "bold yellow"
disabled = false
[git_status]
conflicted = "🏳 "
ahead = "⇑${count}"
diverged = "⇕⇑${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
untracked = "🀷 ${count}"
stashed.value = "πŸ“¦"
stashed.style = "yellow"
modified = "πŸ“"
staged = "[++($count)](green)"
renamed = "πŸ‘…"
deleted = "πŸ—‘ "
disabled= false
[hostname]
ssh_only = true
format = "[$hostname]($style) in la la land"
style = "bold dimmed green"
trim_at = "."
disabled = false
[jobs]
symbol = "+ "
threshold = 1
[line_break]
disabled = false
# [memory_usage]
# disabled = true
# symbol = "πŸ“€"
# format = "${symbol} [${ram_pct}]($style) "
# style = "bold dimmed green"
[memory_usage]
disabled = true
threshold = -1
symbol = " "
style = "bold dimmed green"
[nodejs]
symbol = "β¬’ "
style = "bold green"
disabled = true
[package]
symbol = "πŸ“¦ "
style = "bold red"
disabled = true
# [time]
# disabled = false
# format = 'πŸ•™ [$time]($style) '
# use_12hr = true
# utc_time_offset = "local"
[username]
style_root = "bold red"
style_user = "bold yellow"
show_always = false
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment