feat(starship): move user@host to left and add command time
This commit is contained in:
parent
475c183ff7
commit
cf85fb6372
|
@ -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,7 +53,7 @@ pyenv_version_name = false
|
|||
detect_files = [ '.python-version' ]
|
||||
|
||||
[username]
|
||||
format = '[$user]($style)'
|
||||
format = '[$user@]($style)'
|
||||
|
||||
[hostname]
|
||||
style = 'bold yellow'
|
||||
|
|
Loading…
Reference in New Issue