Skip to content

Instantly share code, notes, and snippets.

@shettayyy
Created August 2, 2024 03:12
Show Gist options
  • Save shettayyy/d69ec468dacfedbf238a1091849ab802 to your computer and use it in GitHub Desktop.
Save shettayyy/d69ec468dacfedbf238a1091849ab802 to your computer and use it in GitHub Desktop.
Starship Config File
# Add this to ~/.config/ after installing starship via homebrew and initialising it in zsh
command_timeout = 1000
# ---
[battery]
full_symbol = "πŸ”‹"
charging_symbol = "πŸ”Œ"
discharging_symbol = "⚑"
[[battery.display]]
threshold = 30
style = "bold red"
[time]
time_format = "%T"
format = "πŸ•™ $time($style) "
style = "bright-white"
disabled = false
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
# ---
[os]
format = '[$symbol](bold white) '
disabled = false
[os.symbols]
Macos = ''
# ---
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
# Shows the username
[username]
style_user = "bold dimmed blue"
style_root = 'black bold'
format = '[$user]($style) '
disabled = false
show_always = true
# Shows current directory
[directory]
read_only_style = '197'
read_only = ' ο€£ '
format = 'at [$path]($style)[$read_only]($read_only_style) '
# ---
# Shows current git status
[git_status]
conflicted = "βš”οΈ "
ahead = "🏎️ πŸ’¨ Γ—${count} "
behind = "🐒 Γ—${count} "
diverged = "πŸ”± 🏎️ πŸ’¨ Γ—${ahead_count} 🐒 Γ—${behind_count} "
untracked = "πŸ›€οΈ Γ—${count} "
stashed = "πŸ“¦ "
modified = "πŸ“ Γ—${count} "
staged = "πŸ—ƒοΈ Γ—${count} "
renamed = "πŸ“› Γ—${count} "
deleted = "πŸ—‘οΈ Γ—${count} "
style = "bright-white"
format = "$all_status$ahead_behind"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment