From e503583cda6bc20dbb0b1e5805ff5817bca90240 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:12:17 +0300 Subject: [PATCH] maybe add zsh plugin --- modules/shell/zsh/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index 80fd7bb2..1c1d58ec 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -13,7 +13,20 @@ in programs.zsh = { enable = true; + enableCompletion = true; promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.7.0"; + sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91"; + }; + } + ]; }; # for theme