You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.2 KiB
TOML
69 lines
1.2 KiB
TOML
# chezmoi:template:left-delimiter=#{{
|
|
#{{- /* vim: filetype=toml */ -}}
|
|
#{{- if lookPath "starship" -}}
|
|
# Get editor completions based on the config schema
|
|
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
format = """\
|
|
$username\
|
|
$hostname\
|
|
$directory\
|
|
$git_branch\
|
|
$git_commit\
|
|
$git_state\
|
|
$git_status\
|
|
$git_metrics\
|
|
$python \
|
|
$time \
|
|
$line_break\
|
|
$cmd_duration\
|
|
$character\
|
|
"""
|
|
|
|
[username]
|
|
style_user = "green"
|
|
format = "[$user]($style) "
|
|
|
|
[hostname]
|
|
style = "blue"
|
|
format = "[$hostname]($style) "
|
|
|
|
[directory]
|
|
truncation_length = 0
|
|
use_logical_path = true
|
|
truncate_to_repo = true
|
|
style = "green"
|
|
|
|
[git_branch]
|
|
style = "black bold"
|
|
symbol = ""
|
|
format = "[$symbol$branch]($style) "
|
|
|
|
[git_status]
|
|
style = "yellow"
|
|
modified = "±"
|
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
|
|
|
[git_metrics]
|
|
disabled = false
|
|
|
|
[python]
|
|
format = '[(\($virtualenv\))]($style)'
|
|
python_binary = ["python3", "python", "python2"]
|
|
|
|
[time]
|
|
disabled = false
|
|
style = "purple"
|
|
time_format = "%F %I:%M%p"
|
|
format = "[$time]($style)"
|
|
|
|
[cmd_duration]
|
|
min_time = 0
|
|
style = "black bold"
|
|
format = "[$duration]($style) "
|
|
|
|
[character]
|
|
success_symbol = "λ"
|
|
error_symbol = "[☠](red)"
|
|
#{{- end }}
|