From 10a75f88d10033db154ddd082efcbd13257e83b3 Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Sat, 14 Jun 2025 18:58:19 -0700 Subject: reorganize code --- dot-config/starship.toml | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'dot-config/starship.toml') diff --git a/dot-config/starship.toml b/dot-config/starship.toml index 8ccb289..1144479 100644 --- a/dot-config/starship.toml +++ b/dot-config/starship.toml @@ -1,8 +1,27 @@ -format = "$username$hostname$directory$git_branch$git_commit$git_state$git_status$cmd_duration$line_break$character" -[character] -error_symbol = "[\\$ ](bold red)" -format = "$symbol" -success_symbol = "[\\$ ](bold yellow)" +format = """ +$username\ +$hostname\ +$directory\ +$git_branch\ +$git_commit\ +$git_state\ +$git_status\ +$cmd_duration\ + +$line_break\ + +$character +""" + +[username] +format = "[$user@]($style)" +show_always = true +style_user = "bold purple" + +[hostname] +format = "[$ssh_symbol$hostname]($style) " +ssh_only = false +style = "italic purple" [git_branch] format = "[$symbol$branch(:$remote_branch)]($style) " @@ -20,12 +39,7 @@ tag_symbol = " " format = "[($all_status$ahead_behind)]($style)" style = "bold red" -[hostname] -format = "[$ssh_symbol$hostname]($style) " -ssh_only = false -style = "italic purple" - -[username] -format = "[$user@]($style)" -show_always = true -style_user = "bold purple" +[character] +error_symbol = "[\\$ ](bold red)" +format = "$symbol" +success_symbol = "[\\$ ](bold yellow)" -- cgit v1.3