Skip to content

Instantly share code, notes, and snippets.

@psmgeelen
Last active March 9, 2023 15:15
Show Gist options
  • Save psmgeelen/0024300c469e4f4087fef069b01b2689 to your computer and use it in GitHub Desktop.
Save psmgeelen/0024300c469e4f4087fef069b01b2689 to your computer and use it in GitHub Desktop.
My Starship Config
# 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