about summary refs log tree commit diff
path: root/config/starship/config.toml
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-02-16 17:31:16 +0000
committervenomade <venomade@venomade.com>2026-02-16 17:31:16 +0000
commita568a964fd6a9efba388b2b4919339c0b7dfe51d (patch)
tree0c6adbf753de1c0b469e911668a82c6b2002f5f8 /config/starship/config.toml
parent9d2c3f898a97de16b986d4e494f31e6c6f3d176a (diff)
MacOS Nix HEAD master
Asahi is just not perfectly usable yet.
Moved stuff, went nix.
Diffstat (limited to 'config/starship/config.toml')
-rw-r--r--config/starship/config.toml91
1 files changed, 91 insertions, 0 deletions
diff --git a/config/starship/config.toml b/config/starship/config.toml
new file mode 100644
index 0000000..6165b64
--- /dev/null
+++ b/config/starship/config.toml
@@ -0,0 +1,91 @@
+# Get editor completions based on the config schema
+"$schema" = 'https://starship.rs/config-schema.json'
+
+# Inserts a blank line between shell prompts
+add_newline = true
+
+format = """
+$nix_shell\
+$directory\
+$git_branch\
+$git_status\
+$git_commit\
+$status\
+$fill\
+$lua\
+$rust\
+$golang\
+$haskell\
+$jobs\
+$cmd_duration\
+$line_break\
+$character"""
+
+[nix_shell]
+format = '[$symbol]($style) '
+symbol = '󱄅 '
+style = 'bold #74c7ec'
+
+[directory]
+style = '#b2bbfb'
+truncation_length = 2
+
+[git_branch]
+symbol = ' '
+format = '[$symbol$branch(:$remote_branch)]($style) '
+style = 'bold #eba0ac'
+ignore_branches = ['master', 'main']
+
+[git_status]
+format = '([\[$all_status$ahead_behind\]]($style) )'
+style = 'bold #89dceb'
+
+[git_commit]
+format = '[\[#$hash$tag\]]($style) '
+style = 'bold #94e2d5'
+
+[status]
+format = '[\[$status\]]($style)'
+disabled = false
+
+[fill]
+symbol = ' '
+
+[lua]
+format = '[$symbol($version )]($style)'
+version_format = '$major.$minor'
+symbol = '󰢱 '
+detect_files = ['.lua-version', '.luarc.json']
+
+[rust]
+format = '[$symbol($version )]($style)'
+version_format = '$major.$minor'
+symbol = ' '
+style = 'bold #fab387'
+
+[golang]
+format = '[$symbol($version )]($style)'
+version_format = '$major.$minor'
+symbol = ' '
+style = 'bold #94e2d5'
+
+[haskell]
+format = '[$symbol($ghc_version )]($style)'
+symbol = ' '
+style = 'bold #cba6f7'
+
+[cmd_duration]
+format = '[󰔚 $duration]($style) '
+style = 'bold #f9e2af'
+
+# Replace the '❯' symbol in the prompt with '➜'
+[character] # The name of the module we are configuring is 'character'
+success_symbol = '[󰘧](bold #a6e3a1)'
+error_symbol = '[󰘧](bold #f38ba8)'
+
+# TODO
+# - [container]
+# - [docker_context]
+# - [direnv]
+# CONTINUE FROM HERE
+