about summary refs log tree commit diff stats
path: root/hm/soispha/conf/starship
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/starship')
-rw-r--r--hm/soispha/conf/starship/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/hm/soispha/conf/starship/default.nix b/hm/soispha/conf/starship/default.nix
new file mode 100644
index 00000000..1dfe042d
--- /dev/null
+++ b/hm/soispha/conf/starship/default.nix
@@ -0,0 +1,15 @@
+{lib, ...}: {
+  programs.starship = {
+    enable = true;
+    enableZshIntegration = true;
+    settings = {
+      add_newline = false;
+      format = lib.concatStrings ["$line_break" "$package" "$line_break" "$character"];
+      scan_timeout = 20;
+      character = {
+        success_symbol = "[➜](bold green)";
+        error_symbol = "[➜](bold red)";
+      };
+    };
+  };
+}