Created
August 2, 2024 03:12
-
-
Save shettayyy/d69ec468dacfedbf238a1091849ab802 to your computer and use it in GitHub Desktop.
Starship Config File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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