Created
December 21, 2022 23:07
-
-
Save zyocum/8c69d7f61de0f7a54dae2aff14041004 to your computer and use it in GitHub Desktop.
Zach's `starship.toml`
This file contains 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
# some symbols used in this config require custom fonts or additional software | |
# for nerd font symobls see: https://www.nerdfonts.com/cheat-sheet | |
# for Apple SF symbols (macOS only) see: https://developer.apple.com/sf-symbols/ | |
# Don't print a new line at the start of the prompt | |
add_newline = false | |
format = """\ | |
$username\ | |
$hostname\ | |
$directory\ | |
$read_only\ | |
$git_branch\ | |
$git_commit\ | |
$git_state\ | |
$git_status\ | |
$hg_branch\ | |
$docker_context\ | |
$package\ | |
$dotnet\ | |
$elixir\ | |
$elm\ | |
$erlang\ | |
$golang\ | |
$java\ | |
$julia\ | |
$nim\ | |
$nodejs\ | |
$ocaml\ | |
$php\ | |
$purescript\ | |
$python\ | |
$ruby\ | |
$rust\ | |
$terraform\ | |
$zig\ | |
$nix_shell\ | |
$conda\ | |
$memory_usage\ | |
$aws\ | |
$env_var\ | |
$crystal\ | |
$cmd_duration\ | |
$line_break\ | |
$jobs\ | |
$battery\ | |
$custom\ | |
$character\ | |
""" | |
[username] | |
style_root = "bold red" | |
style_user = "bold green" | |
show_always = false | |
format = "[$user]($style)" | |
[hostname] | |
ssh_only = true | |
style = "bold dimmed blue" | |
format = "@[$hostname]($style):" | |
[directory] | |
truncation_length = 3 | |
truncate_to_repo = false | |
fish_style_pwd_dir_length = 1 | |
read_only = "" | |
read_only_style = "bold dimmed red" | |
truncation_symbol = "…" | |
format = "[$path]($style)[$read_only]($read_only_style) " | |
[character] | |
success_symbol = "[\\$](bold green)" | |
error_symbol = "[!](bold red)" | |
vicmd_symbol = "[❯](bold blue)" | |
[battery] | |
full_symbol = " " | |
charging_symbol = " " | |
discharging_symbol = " " | |
unknown_symbol = " " | |
empty_symbol = " " | |
disabled = false | |
[[battery.display]] | |
threshold = 10 | |
charging_symbol = " " | |
discharging_symbol = " " | |
style = "bold red" # "bold red" style when capacity is between 0% and 10% | |
[[battery.display]] | |
threshold = 25 | |
charging_symbol = " " | |
discharging_symbol = " " | |
style = "bold yellow" # "bold yellow" style when capacity is between 25% and 50% | |
[[battery.display]] | |
threshold = 50 | |
charging_symbol = " " | |
discharging_symbol = " " | |
style = "bold green" # "bold green" style when capacity is between 50% and 75% | |
[[battery.display]] | |
threshold = 75 | |
charging_symbol = " " | |
discharging_symbol = " " | |
style = "bold green" # "bold green" style when capacity is between 75% and 100% | |
[[battery.display]] | |
threshold = 100 | |
charging_symbol = " " | |
discharging_symbol = " " | |
style = "bold dimmed green" # "bold dimmed green" style when capacity is full | |
[cmd_duration] | |
min_time = 2_000 | |
show_milliseconds = true | |
style = "bold white" | |
format = "[$duration]($style)" | |
[git_branch] | |
symbol = "" | |
truncation_length = 12 | |
format = "[$symbol $branch]($style) " | |
[git_commit] | |
commit_hash_length = 5 | |
[git_status] | |
ahead = " " | |
behind = " " | |
conflicted = " $count" | |
modified = " $count" | |
renamed = " $count" | |
staged = " $count" | |
untracked = " $count" | |
diverged = " $count" | |
stashed = " $count" | |
deleted = " $count" | |
disabled = false | |
[python] | |
symbol = "" | |
format = "[$symbol $version( \\($virtualenv\\))]($style) " | |
[time] | |
format = "%T" | |
disabled = true | |
[custom] | |
[custom.tab] | |
description = "The current tab in the tab terminal multiplexer" | |
command = "tab --starship" | |
when = "tab --starship" | |
shell = ["sh"] | |
format = "[$output]($style) " | |
style = "bold blue" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment