dotfiles/fake_home/.config/starship.toml

129 lines
1.9 KiB
TOML

format = """
$git_status\
${custom.username}\
$hostname\
$shlvl\
$kubernetes\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$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\
$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 = " "
# [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)'
[custom.username]
command = 'echo "[$(whoami | sed "s/vaillancourt//")]"'
when = true
style = 'bold red'
[hostname]
ssh_symbol = '🌐'
format = '[$ssh_symbol](bold blue) [$hostname](bold dimmed green) '
[git_status]
conflicted = "=conflicted "
ahead = "⇡ahead "
behind = "⇣behind "
diverged = "⇕diverged "
untracked = "?untracked "
stashed = "\\$stashed "
modified = "!modified "
staged = "[++($count)](green)"
renamed = "»renamed "
deleted = "✘deleted "
format = "[$all_status]($style)\n"
style = 'red dimmed'