Last active
September 23, 2022 10:01
-
-
Save Daviid-P/ac839053e0e3315ef1b6aa8d0f419368 to your computer and use it in GitHub Desktop.
Prompt for Starship
This file contains 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
# ~/.config/starship.toml | |
command_timeout = 2000 | |
[character] | |
success_symbol = "[λ](green)" | |
error_symbol = "[λ](red)" | |
[username] | |
style_user = "green bold" | |
style_root = "red bold" | |
format = "[$user]($style)" | |
disabled = false | |
show_always = true | |
[hostname] | |
ssh_only = false | |
format = "<[$hostname]($style)>" | |
trim_at = "-" | |
style = "bold dimmed white" | |
disabled = true | |
[cmd_duration] | |
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec) | |
format = " took [$duration]($style)" | |
[directory] | |
truncation_length = 5 | |
format = "[$path]($style)[$lock_symbol]($lock_style) " | |
[git_branch] | |
format = " [$symbol$branch]($style) " | |
symbol = " " | |
style = "bold yellow" | |
[git_commit] | |
commit_hash_length = 8 | |
style = "bold white" | |
[git_state] | |
format = '[\($state( $progress_current of $progress_total)\)]($style) ' | |
cherry_pick = "[🍒 PICKING](bold red)" | |
[git_status] | |
# I don't care about untracked files or that there's a stash present. | |
untracked = "" | |
conflicted = "⚔️${count} " | |
deleted = "🗑️${count} " | |
renamed = "📛${count} " | |
modified = "📝${count} " | |
staged = "🗃️ ${count} " | |
behind = "⏪${count} " | |
ahead = "⏩${count} " | |
stashed = "📦${count} " | |
format = '([\[$conflicted$deleted$renamed$modified$staged$stashed$ahead_behind\]]($style) )' | |
[memory_usage] | |
format = "$symbol[${ram}( | ${swap})]($style) " | |
threshold = 70 | |
style = "bold dimmed white" | |
disabled = true | |
[package] | |
disabled = true | |
[python] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[php] | |
format = "[PHP $version]($style) " | |
style = "bold dimmed blue" | |
[time] | |
time_format = "%T" | |
format = "🕙 $time($style) " | |
style = "bright-white" | |
disabled = false | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment