Created
April 11, 2023 11:19
-
-
Save megaacheyounes/4ecb4cc09776fbb10b3e643657f22833 to your computer and use it in GitHub Desktop.
terminal style for starship, save to ~/.config/starship.toml, download starship => https://starship.rs
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
#Younes Megaache starship terminal config | |
#April 11th, 2023 | |
format = "$directory$git_branch$package$time$cmd_duration$character" | |
[line_break] | |
disabled = true | |
[character] | |
success_symbol = "[➜](bold green) " | |
error_symbol = "[✗](bold red) " | |
[directory] | |
read_only = " " | |
truncation_length = 3 | |
truncation_symbol = "~/" | |
format = "[$path]($style)[$lock_symbol]($lock_style) " | |
[git_branch] | |
symbol = " " | |
style = "bold #e8ec00 " | |
format = "on [$symbol$branch]($style) " | |
[time] | |
disabled = false | |
format = '[🕙 $time ]($style) ' | |
time_format = "%I:%M %p" | |
utc_time_offset = "+4" | |
style = "bold bg:#442121" | |
[package] | |
format = '[$version](208 bold) ' | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" | |
[cmd_duration] | |
min_time = 3_000 # Show command duration over 10,000 milliseconds (=10 sec) | |
format = " took [$duration]($style)" | |
[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 | |
[julia] | |
format = "[$symbol$version]($style) " | |
symbol = "ஃ " | |
style = "bold green" | |
[memory_usage] | |
format = "$symbol[${ram}( | ${swap})]($style) " | |
threshold = 70 | |
style = "bold dimmed white" | |
disabled = false | |
[python] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[rust] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[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