From cf85fb6372860674d8e6bd668f140786ab301965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Thu, 2 Jan 2025 22:42:22 +0100 Subject: [PATCH] feat(starship): move user@host to left and add command time --- starship/config.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/starship/config.toml b/starship/config.toml index 7ec17dc..84ad835 100644 --- a/starship/config.toml +++ b/starship/config.toml @@ -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 = ''