Last active
March 11, 2024 16:42
-
-
Save henriqwe/f2674d72bce595ea3a2c36ea250a4621 to your computer and use it in GitHub Desktop.
starship.toml
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 | |
[battery] | |
full_symbol = "π" | |
charging_symbol = "π" | |
discharging_symbol = "β‘" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" | |
[character] | |
error_symbol = "[β](bold red) " | |
[cmd_duration] | |
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec) | |
format = "[β³ $duration ](bold yellow)" | |
[directory] | |
truncation_length = 5 | |
format = "[$path]($style)[$lock_symbol]($lock_style) " | |
[git_branch] | |
format = " [$symbol$branch]($style) " | |
symbol = "ξ " | |
style = "bold purple" | |
[git_commit] | |
commit_hash_length = 8 | |
style = "bold white" | |
[git_state] | |
format = '[\($state( $progress_current of $progress_total)\)]($style) ' | |
[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" | |
[hostname] | |
ssh_only = false | |
format = "<[$hostname]($style)>" | |
trim_at = "-" | |
style = "bold dimmed white" | |
disabled = true | |
[memory_usage] | |
format = "$symbol[${ram}( | ${swap})]($style) " | |
threshold = 70 | |
style = "bold dimmed white" | |
disabled = false | |
[package] | |
disabled = true | |
[time] | |
time_format = "| %b %d | %I:%M%P οΈ" | |
format = "$time($style) " | |
style = "bright-white" | |
disabled = false | |
[username] | |
style_user = "bold dimmed blue" | |
show_always = false | |
[nodejs] | |
format = " [$version](bold green) " | |
detect_files = ["package.json", ".node-version"] | |
detect_folders = ["node_modules"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment