feat(starship): always display on hostname

This commit is contained in:
Matej Janezic 2025-01-19 23:39:18 +01:00
parent 5fb9b3618b
commit 360afecb75
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
1 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,7 @@
add_newline = false add_newline = false
format = """\ format = """\
$username$hostname\ $hostname\
[$directory](cyan)\ [$directory](cyan)\
$git_branch\ $git_branch\
$git_commit\ $git_commit\
@ -52,10 +52,7 @@ python_binary = 'python'
pyenv_version_name = false pyenv_version_name = false
detect_files = [ '.python-version' ] detect_files = [ '.python-version' ]
[username]
format = '[$user@]($style)'
[hostname] [hostname]
ssh_only = false
style = 'bold yellow' style = 'bold yellow'
format = '[$ssh_symbol$hostname]($style) ' format = '[$hostname]($style) on '
ssh_symbol = ''