feat(starship): move user@host to left and add command time
This commit is contained in:
		@@ -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,9 +53,9 @@ 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'
 | 
				
			||||||
format = '[$ssh_symbol$hostname]($style)'
 | 
					format = '[$ssh_symbol$hostname]($style) '
 | 
				
			||||||
ssh_symbol = ''
 | 
					ssh_symbol = ''
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user