dotfiles/starship/starship.toml.configlink

55 lines
948 B
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]
2020-07-19 19:47:46 -04:00
symbol = ""
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 18:25:25 -05:00
format = "[$hash]($style) "
disabled = false
2020-07-26 16:15:21 -04:00
2020-07-19 19:47:46 -04:00
[git_status]
2020-11-23 18:25:25 -05:00
format = "[$all_status$ahead_behind]($style) "
2020-11-23 18:26:40 -05:00
conflicted = " ="
ahead = " ⇡"
behind = " ⇣"
diverged = " ⇕"
2020-11-23 18:47:30 -05:00
untracked = " ⋄"
stashed = " ⩮"
modified = " ∽"
2020-11-23 18:26:40 -05:00
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 = ") "