From 0cac8e1763319b7cea8771b0321f4db18ca5872c Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 29 Jan 2025 14:39:50 +0800 Subject: [PATCH] feat: ghostty - use nushell --- home/base/gui/terminal/ghostty.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/base/gui/terminal/ghostty.nix b/home/base/gui/terminal/ghostty.nix index 71b3d27e..7b12be35 100644 --- a/home/base/gui/terminal/ghostty.nix +++ b/home/base/gui/terminal/ghostty.nix @@ -29,6 +29,13 @@ # only supported on macOS; background-blur-radius = 10; scrollback-limit = 20000; + + # https://ghostty.org/docs/config/reference#command + # To resolve issues: + # 1. https://github.com/ryan4yin/nix-config/issues/26 + # 2. https://github.com/ryan4yin/nix-config/issues/8 + # Spawn a nushell in login mode via `bash` + command = "${pkgs.bash}/bin/bash --login -c 'nu --login --interactive'"; }; }; }