Files
dotfilesv2/starship.toml
2026-03-28 16:48:16 +00:00

64 lines
1.8 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
add_newline = false
# Теперь пробелы между модулями настраиваются прямо здесь.
# Обратите внимание на пробел между $os и $directory, и между $directory и $git_branch.
format = """
╭─$os $directory $git_branch$git_status $nodejs$rust$golang$php$java$python
╰─$character"""
#чооо
[os]
disabled = false
style = "bold #d9e0ee"
# Убираем лишние пробелы по краям
format = "[]($style)"
[directory]
style = "bold #d9e0ee"
# Убираем лишний пробел в конце
format = "[ $path]($style)"
truncation_length = 0
truncation_symbol = "…/"
[git_branch]
symbol = ""
style = "bold #cba6f7"
# Убираем скобки, чтобы соответствовать скриншоту, и добавляем пробел после символа
format = '[$symbol $branch]($style)'
[git_status]
style = "bold #a6e3a1"
# Этот формат правильный, он должен "прилипать" к git_branch
format = '[$staged$ahead_behind]($style)'
staged = "+${count} "
ahead = "⇡${count} "
behind = "⇣${count} "
[character]
success_symbol = "[](bold #d9e0ee)"
error_symbol = "[](bold #f38ba8)"
# Для всех языков убираем лидирующий пробел, так как он теперь задаётся в главной строке format
[nodejs]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'
[rust]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'
[golang]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'
[php]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'
[java]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'
[python]
symbol = ""
format = '[$symbol ($version)](bold #769ff0)'