Last active
March 9, 2023 15:15
-
-
Save psmgeelen/0024300c469e4f4087fef069b01b2689 to your computer and use it in GitHub Desktop.
My Starship Config
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
# Go to https://starship.rs/config/ for more information | |
# The file lives in the ~/.config/starship.toml dir | |
# Install NerdFonts to have extended font with icons https://www.nerdfonts.com/font-downloads | |
# Selected the "FuraMono Nerd Font Mono, Medium" | |
format = """ | |
$username\ | |
$hostname\ | |
$directory\ | |
$git_branch\ | |
$git_commit\ | |
$git_state\ | |
$git_status\ | |
$git_metrics\ | |
$fill\ | |
$aws\ | |
$battery\ | |
$memory_usage\ | |
$docker_context\ | |
$nodejs\ | |
$python\ | |
$rust\ | |
$cmd_duration $jobs $time\ | |
$line_break\ | |
$character""" | |
# configure aws | |
[aws] | |
format = '[$symbol $region $profile | ]($style) ' | |
style = 'bold dimmed-white' | |
symbol = "ξ½" | |
[aws.profile_aliases] | |
Enterprise_Naming_Scheme-voidstars = 'void**' | |
# Todo fix battery status | |
[battery] | |
full_symbol = "π" | |
charging_symbol = "π" | |
discharging_symbol = "β‘" | |
[[battery.display]] | |
threshold = 25 | |
style = "bold red" | |
[character] | |
error_symbol = "[β](bold red) " | |
success_symbol = '[β](bold green)' | |
[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) " | |
read_only = " ο ½" | |
truncate_to_repo = false | |
[docker_context] | |
format = '[ $symbol$context](blue bold)' | |
symbol = "ο " | |
[fill] | |
symbol = " " | |
[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] | |
format = '([\[$all_status$ahead_behind\]]($style) )' | |
style = "cyan" | |
[git_metrics] | |
disabled = false | |
[hostname] | |
ssh_only = false | |
format = "<[$hostname]($style)>" | |
trim_at = "-" | |
style = "bold dimmed white" | |
disabled = true | |
[memory_usage] | |
format = "[$symbol${ram} | ]($style)" | |
symbol = "ο‘ " | |
threshold = 75 | |
style = "bold white" | |
disabled = false | |
[python] | |
format = "[$symbol$version | ]($style)" | |
symbol = "ξ΅ " | |
style = "bold #4B8BBE" | |
[rust] | |
format = " [$symbol$version | ]($style)" | |
symbol = "ξ¨ " | |
style = "bold #F74C00" | |
[time] | |
time_format = "%T" | |
format = "[$time]($style) " | |
style = "bold dimmed white" | |
disabled = false | |
[username] | |
style_user = "bold bright-blue" | |
show_always = false | |
[nodejs] | |
format = "[$symbol$version | ]($style)" | |
symbol = "ξ " | |
style = "bold #68A063" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment