dotfiles/starship/starship.toml.configlink

57 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-07-19 19:47:46 -04:00
# Don't print a new line at the start of the prompt
add_newline = false
2020-11-10 18:14:36 -05:00
format = """\
$directory\
2020-11-23 18:13:50 -05:00
$git_branch\
2020-11-23 18:25:25 -05:00
$git_commit\
$git_status\
2020-11-10 18:14:36 -05:00
$character\
"""
2020-07-19 19:47:46 -04:00
2020-11-10 18:14:36 -05:00
[character]
2021-05-03 15:51:06 -04:00
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"
vicmd_symbol = "[](bold green)"
2020-07-19 19:47:46 -04:00
2020-11-23 18:26:40 -05:00
[cmd_duration]
min_time = 3_000
show_notifications = true
min_time_to_notify = 30_000
format = "[$duration]($style) "
2020-11-23 18:26:40 -05:00
2020-07-19 19:47:46 -04:00
[directory]
truncate_to_repo = true
truncation_length = 100
2020-07-26 16:15:21 -04:00
[git_branch]
2020-11-23 18:26:40 -05:00
format = "[$symbol$branch]($style)"
2020-11-23 18:13:50 -05:00
[git_commit]
2020-11-23 23:05:02 -05:00
format = "( @ [$hash]($style) )"
only_detached = false
2020-07-26 16:15:21 -04:00
2020-07-19 19:47:46 -04:00
[git_status]
2020-11-23 23:05:02 -05:00
format = "([$all_status$ahead_behind]($style) )"
conflicted = "="
ahead = "⇡"
behind = "⇣"
diverged = "⇕"
untracked = "⋄"
2020-11-23 23:33:20 -05:00
stashed = "⩮"
2020-11-23 23:05:02 -05:00
modified = "∽"
staged = "+"
renamed = "»"
deleted = "✘"
2020-11-23 18:25:25 -05:00
style = "red"
2020-07-26 16:15:21 -04:00
[python]
symbol = ""
2020-11-10 18:14:36 -05:00
format = '[\($virtualenv\)]($style)'
2020-07-30 21:12:17 -04:00
[custom.virtualenv]
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
2020-11-10 18:14:36 -05:00
format = "[$output]($style) "
2020-07-30 21:12:17 -04:00
when = "true"
2020-11-10 18:14:36 -05:00
# prefix = "("
# suffix = ") "