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
|
add_newline = false
|
||||||
|
|
||||||
format = """\
|
format = """\
|
||||||
|
$username$hostname\
|
||||||
[$directory](cyan)\
|
[$directory](cyan)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_commit\
|
$git_commit\
|
||||||
|
@ -15,7 +16,7 @@ $lua\
|
||||||
$nodejs\
|
$nodejs\
|
||||||
$python\
|
$python\
|
||||||
$rust\
|
$rust\
|
||||||
$username[@](bold yellow)$hostname\
|
$cmd_duration\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
|
@ -52,7 +53,7 @@ pyenv_version_name = false
|
||||||
detect_files = [ '.python-version' ]
|
detect_files = [ '.python-version' ]
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
format = '[$user]($style)'
|
format = '[$user@]($style)'
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
style = 'bold yellow'
|
style = 'bold yellow'
|
||||||
|
|
Loading…
Reference in New Issue