summaryrefslogtreecommitdiff
path: root/starship
diff options
context:
space:
mode:
Diffstat (limited to 'starship')
-rw-r--r--starship/.config/starship.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml
new file mode 100644
index 0000000..8ccb289
--- /dev/null
+++ b/starship/.config/starship.toml
@@ -0,0 +1,31 @@
+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)"
+
+[git_branch]
+format = "[$symbol$branch(:$remote_branch)]($style) "
+only_attached = false
+style = "bold green"
+symbol = " "
+
+[git_commit]
+format = "[( $hash $tag)]($style) "
+style = "bold green"
+tag_disabled = false
+tag_symbol = " "
+
+[git_status]
+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"