summaryrefslogtreecommitdiff
path: root/config/old/starship/starship.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/old/starship/starship.toml')
-rw-r--r--config/old/starship/starship.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/old/starship/starship.toml b/config/old/starship/starship.toml
new file mode 100644
index 0000000..e70d49d
--- /dev/null
+++ b/config/old/starship/starship.toml
@@ -0,0 +1,24 @@
+# Don't print a new line at the start of the prompt
+add_newline = false
+
+# makes prompt a single line
+[line_break]
+disabled = true
+
+# Disable the package module, hiding it from the prompt completely
+[package]
+disabled = true
+
+[cmd_duration]
+min_time = 10_000 # Show command duration over 10,000 milliseconds (= 10 sec)
+format = "took [$duration]($style)"
+
+[character]
+error_symbol = "[X](bold red) "
+
+# Clear visibility for exit codes
+[status]
+style = "red"
+symbol = " "
+format = '[\[$symbol$status\]]($style) '
+disabled = false