chore(config): tweak starship config

This commit is contained in:
2023-09-21 13:11:31 +03:00
parent 1897f49906
commit 3d65fdee43

View File

@@ -23,7 +23,7 @@ $line_break\
$character""" $character"""
# Timeout for commands executed by starship (in milliseconds). # Timeout for commands executed by starship (in milliseconds).
# command_timeout = 1000 command_timeout = 1500
[character] [character]
success_symbol = "[→](bold green)" success_symbol = "[→](bold green)"
@@ -43,16 +43,18 @@ style = "blue"
[docker_context] [docker_context]
symbol = " " symbol = " "
format = '[$symbol$context]($style) '
[fill] [fill]
symbol = '·' symbol = '·'
style = 'bold black' style = 'bold black'
[gcloud] [gcloud]
format = ' [($symbol)$account(@$domain)(\($region\))]($style) ' format = '[($symbol)$account(@$domain)(\($region\))]($style) '
[git_branch] [git_branch]
symbol = " " symbol = " "
format = '[$symbol$branch(:$remote_branch)]($style) '
truncation_length = 20 truncation_length = 20
truncation_symbol = '…' truncation_symbol = '…'
ignore_branches = ['master', 'main'] ignore_branches = ['master', 'main']
@@ -72,12 +74,16 @@ disabled = false
[golang] [golang]
symbol = " " symbol = " "
format = '[$symbol($version )]($style) '
[hostname] [hostname]
ssh_symbol = " " ssh_symbol = " "
ssh_only = false ssh_only = false
format = '[$ssh_symbol](bold blue)[$hostname](bold red) ' format = '[$ssh_symbol](bold blue)[$hostname](bold red) '
[lua]
format = '[$symbol($version )]($style)'
[nodejs] [nodejs]
symbol = " " symbol = " "
format = '[$symbol($version )]($style)' format = '[$symbol($version )]($style)'
@@ -141,5 +147,4 @@ version_format = '${major}.${minor}'
[python] [python]
symbol = " " symbol = " "
format = "[$virtualenv]($style) " format = "[$virtualenv]($style) "
style = "bright-black"