From 63bac87b76b14c9a6c0065de48a2d72d180a995c Mon Sep 17 00:00:00 2001 From: Emmet Date: Wed, 26 Mar 2025 10:20:14 -0500 Subject: [PATCH] Keep zsh when going into nix-shell --- modules/user/shell/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/user/shell/default.nix b/modules/user/shell/default.nix index 9e1d714f..3f56dffe 100644 --- a/modules/user/shell/default.nix +++ b/modules/user/shell/default.nix @@ -15,6 +15,18 @@ in { enableAutosuggestions = true; syntaxHighlighting.enable = true; enableCompletion = true; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.8.0"; + sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; + }; + } + ]; shellAliases = { phoenix = "sudo phoenix"; ls = "eza --icons -l -T -L=1";