about summary refs log tree commit diff stats
path: root/.config/starship.toml
diff options
context:
space:
mode:
Diffstat (limited to '.config/starship.toml')
-rw-r--r--.config/starship.toml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/starship.toml b/.config/starship.toml
new file mode 100644
index 0000000..195b05d
--- /dev/null
+++ b/.config/starship.toml
@@ -0,0 +1,32 @@
+add_newline = false
+
+format = "$username[@](bold green)$hostname $directory$git_branch$git_status$character"
+right_format = "$cmd_duration$time"
+
+[username]
+show_always = true
+format = "[$user](bold yellow)"
+
+[hostname]
+ssh_only = false
+format   = "[$hostname](bold blue)"
+
+[git_branch]
+format = "[$symbol$branch(:$remote_branch)]($style)"
+
+[git_status]
+format = "[$all_status]($style) "
+
+[character]
+success_symbol = '[➜](bold green)'
+error_symbol   = '[✗](bold red)'
+
+# right side
+
+[cmd_duration]
+min_time = 200
+format   = "took [$duration](underline bold yellow) "
+
+[time]
+format   = "[$time](fg:bold purple)"
+disabled = false