dotfiles/starship/starship.toml.configlink

41 lines
690 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 = ""
[directory]
truncate_to_repo = true
truncation_length = 100
2020-07-26 16:15:21 -04:00
[git_branch]
2020-11-23 18:25:25 -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) "
style = "red"
2020-11-10 18:14:36 -05:00
# prefix = ""
# suffix = ""
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 = ") "