🗝
summary refs log tree commit diff
path: root/starship.toml
diff options
context:
space:
mode:
Diffstat (limited to 'starship.toml')
-rw-r--r--starship.toml32
1 files changed, 32 insertions, 0 deletions
diff --git a/starship.toml b/starship.toml
new file mode 100644
index 0000000..7af93a5
--- /dev/null
+++ b/starship.toml
@@ -0,0 +1,32 @@
+"$schema" = 'https://starship.rs/config-schema.json'
+
+format = "([$username@$hostname](dimmed bright-white) )$directory$character"
+right_format = "$cmd_duration$git_branch$git_commit$git_state$git_status$package"
+add_newline = false
+
+[username]
+format = '[$user]($style)'
+
+[hostname]
+format = '[$hostname]($style)[$ssh_symbol](dimmed)'
+ssh_symbol = " "
+
+[cmd_duration]
+format = '(for [⏱ $duration]($style) )'
+
+[directory]
+read_only = " 󰌾"
+
+[git_branch]
+format = '(on [$symbol$branch]($style) )'
+symbol = " "
+
+[git_commit]
+disabled = false
+
+[git_status]
+format = '([\[$all_status$ahead_behind\]]($style) )'
+
+[package]
+format = '([$symbol$version]($style) )'
+symbol = "󰏗 "