dotfiles/starship/starship.toml.configlink

39 lines
677 B
Plaintext
Raw Normal View History

2020-07-19 23:47:46 +00:00
# Don't print a new line at the start of the prompt
add_newline = false
2020-11-10 23:14:36 +00:00
format = """\
$directory\
2020-11-23 23:13:50 +00:00
$git_branch\
$git_commit \
2020-11-10 23:14:36 +00:00
$character\
"""
2020-07-19 23:47:46 +00:00
2020-11-10 23:14:36 +00:00
[character]
2020-07-19 23:47:46 +00:00
symbol = ""
[directory]
truncate_to_repo = true
truncation_length = 100
2020-07-26 20:15:21 +00:00
[git_branch]
2020-11-23 23:13:50 +00:00
format = "[$symbol$branch]($style)"
[git_commit]
commit_has_length = 7
format = "[\\($hash\\)]($style)"
2020-07-26 20:15:21 +00:00
2020-07-19 23:47:46 +00:00
[git_status]
2020-11-10 23:14:36 +00:00
format = '([\[$all_status$ahead_behind\]]($style) )'
# prefix = ""
# suffix = ""
2020-07-26 20:15:21 +00:00
[python]
symbol = ""
2020-11-10 23:14:36 +00:00
format = '[\($virtualenv\)]($style)'
2020-07-31 01:12:17 +00:00
[custom.virtualenv]
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
2020-11-10 23:14:36 +00:00
format = "[$output]($style) "
2020-07-31 01:12:17 +00:00
when = "true"
2020-11-10 23:14:36 +00:00
# prefix = "("
# suffix = ") "