feat(starship): move user@host to left and add command time

This commit is contained in:
Matej Janezic 2025-01-02 22:42:22 +01:00
parent 475c183ff7
commit cf85fb6372
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
add_newline = false
format = """\
$username$hostname\
[$directory](cyan)\
$git_branch\
$git_commit\
@ -15,7 +16,7 @@ $lua\
$nodejs\
$python\
$rust\
$username[@](bold yellow)$hostname\
$cmd_duration\
"""
[character]
@ -52,9 +53,9 @@ pyenv_version_name = false
detect_files = [ '.python-version' ]
[username]
format = '[$user]($style)'
format = '[$user@]($style)'
[hostname]
style = 'bold yellow'
format = '[$ssh_symbol$hostname]($style)'
format = '[$ssh_symbol$hostname]($style) '
ssh_symbol = ''