Skip to content

Instantly share code, notes, and snippets.

@koad
Last active November 22, 2023 23:50
Show Gist options
  • Save koad/733ca120bc7f0ca44ebd2e96d658b177 to your computer and use it in GitHub Desktop.
Save koad/733ca120bc7f0ca44ebd2e96d658b177 to your computer and use it in GitHub Desktop.
~/.config/starship.toml
# Saved to -> https://gist.github.com/koad/733ca120bc7f0ca44ebd2e96d658b177
# Last Updated -> July 5th, 2023
#
# koad-was-here
#
# koad's https://starship.rs prompt configuration.
# ~/.config/starship.toml
format = """
$cmd_duration\
$username\
$hostname\
$env_var\
$directory\
$vcsh\
$memory_usage\
$hg_branch\
$docker_context\
$package\
$buf\
$c\
$cmake\
$cobol\
$container\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$haskell\
$helm\
$java\
$julia\
$kotlin\
$lua\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$pulumi\
$purescript\
$python\
$rlang\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$nix_shell\
$conda\
$spack\
$aws\
$gcloud\
$openstack\
$azure\
$crystal\
$sudo\
$jobs\
$battery\
$custom\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$line_break\
$time\
$status\
$shell\
$character"""
[cmd_duration]
min_time = 3_000
show_milliseconds = true
format = "\ntook [$duration]($style)\n\n"
[username]
style_user = "bright-white bold"
style_root = "red bold"
format = "[$user]($style) [on](dimmed white) "
disabled = false
show_always = true
[hostname]
ssh_only = false
format = "[$hostname]($style) "
trim_at = "-"
style = "bold white"
disabled = false
[env_var]
variable = "ENTITY"
format = "([with ](dimmed white)[$env_value](bright-white bold)) "
[directory]
truncation_length = 8
truncation_symbol = "โ€ฆ/"
format = "[$path]($style)[$lock_symbol]($lock_style) "
[memory_usage]
# format = "$symbol[${ram}( | ${swap})]($style) "
format = "$symbol[${ram}]($style) "
threshold = 50
style = "bold dimmed white"
disabled = false
[battery]
full_symbol = "๐Ÿ”‹"
charging_symbol = "๐Ÿ”Œ"
discharging_symbol = "โšก"
[[battery.display]]
threshold = 30
style = "bold red"
[julia]
format = "[$symbol$version]($style) "
symbol = "เฎƒ "
style = "bold green"
[package]
disabled = true
[python]
format = "[$symbol$version]($style) "
style = "bold green"
[jobs]
symbol = "+ "
style = "bright-white"
threshold = 4
[custom.git_origin_url]
disabled = false
when = true
require_repo = true
shell = ["git", "config", "--get"]
command = "remote.origin.url"
style = "bright-black"
use_stdin = false
format = "\n[$output]($style) "
description = 'The currently configured Git remote.origin.url'
[git_branch]
format = "[$symbol$branch]($style) "
symbol = "๐ŸŒฑ "
truncation_length = 4
truncation_symbol = ''
ignore_branches = ['master']
style = "bold green"
[git_commit]
commit_hash_length = 8
style = "bold white"
[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"
[nodejs]
format='[nodejs $symbol($version )]($style)'
[time]
time_format = "%y:%m:%d:%H:%M:%S"
format = "$time($style) "
style = "bold grey"
disabled = false
[character]
success_symbol = "[โฏ](bold green)"
error_symbol = "[โœ–](bold red)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment