summaryrefslogtreecommitdiff
path: root/dot-config/starship.toml
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-06-14 18:58:19 -0700
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-06-14 18:58:19 -0700
commit10a75f88d10033db154ddd082efcbd13257e83b3 (patch)
tree49315c4f5a400c7042827e2e271a42c2cfe1b61f /dot-config/starship.toml
parent14f838d2db3a9a36311eb5ac007f241ace0cc70f (diff)
reorganize code
Diffstat (limited to 'dot-config/starship.toml')
-rw-r--r--dot-config/starship.toml42
1 files changed, 28 insertions, 14 deletions
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)"