dotfiles/fake_home/.config/starship.toml

109 lines
1.4 KiB
TOML
Raw Normal View History

add_newline = true
format = """
[\\[sage\\]](bold red) \
$username\
$hostname\
$shlvl\
$kubernetes\
$directory\
2023-09-27 12:21:12 -04:00
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$hg_branch\
$vcsh\
$java\
$nodejs\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$julia\
$kotlin\
$nim\
$ocaml\
$perl\
$php\
$purescript\
$python\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$docker_context\
$cmake\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$env_var\
$crystal\
$custom\
$line_break\
$lua\
$jobs\
$battery\
$time\
$status\
$shell\
$character"""
[character]
success_symbol = "[\\$](bold white)"
error_symbol = "[✗](bold red)"
[directory]
style = "green bold"
truncate_to_repo = false
truncation_length = 0
[nodejs]
format = "$symbol"
[java]
format = "$symbol"
[time]
disabled = true
use_12hr = true
[[battery.display]]
threshold = 20
style = "bold red"
[[battery.display]] # "bold yellow" style when capacity is between 10% and 50%
threshold = 30
style = "yellow"
discharging_symbol = " "
# [[battery.display]]
# threshold = 100
# style = "green"
# discharging_symbol = " "
2023-09-27 12:21:12 -04:00
# [git_branch]
# format = "\n on [$symbol$branch(:$remote_branch)]($style) "
[directory.substitutions]
'~/git/' = ''
[custom.in-project-dir]
command = '/home/sagevaillancourt/.in_project_dir.sh'
when = true
style = 'bold red'
[dotnet]
format = 'via [$symbol($version) (◎ $tfm )]($style)'