Last active
February 23, 2025 11:52
-
Star
(203)
You must be signed in to star a gist -
Fork
(37)
You must be signed in to fork a gist
-
-
Save ryo-ARAKI/48a11585299f9032fa4bda60c9bba593 to your computer and use it in GitHub Desktop.
Starship configuration 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
# ~/.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 = " 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) ' | |
[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 = true | |
format = "[$hostname]($style)" | |
trim_at = "-" | |
style = "bold dimmed white" | |
disabled = false | |
[julia] | |
format = "[$symbol$version]($style) " | |
symbol = "เฎ " | |
style = "bold green" | |
[memory_usage] | |
format = "$symbol[${ram}( | ${swap})]($style) " | |
threshold = 70 | |
style = "bold dimmed white" | |
disabled = false | |
[package] | |
disabled = true | |
[python] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[rust] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[time] | |
time_format = "%T" | |
format = "๐ $time($style) " | |
style = "bright-white" | |
disabled = false | |
[typst] | |
format = "[$symbol($version)]($style)" | |
style = "bold #239dae" | |
[username] | |
style_user = "bold dimmed blue" | |
show_always = false | |
[nodejs] | |
format = "via [๐ค $version](bold green) " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thank you for sharing this, I'm pretty new to starship. I've moved from basic
.zsh
terminal to starship.I wanted to port my
.zshrc
configuration tostarship
, couldn't find proper documentation to follow.Kind of looking for equivalents of doing aliases. For example:
Thank you.