From 68cac90a7efa8b4a753496a631eaba9ac6effa77 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Fri, 19 Feb 2021 21:22:53 -0500 Subject: [PATCH] Add zsh nix-shell plugin --- nixpkgs/modules/zsh.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixpkgs/modules/zsh.nix b/nixpkgs/modules/zsh.nix index 42771b7..95877ad 100644 --- a/nixpkgs/modules/zsh.nix +++ b/nixpkgs/modules/zsh.nix @@ -2,6 +2,18 @@ { programs.zsh = { enable = true; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.1.0"; + sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx"; + }; + } + ]; prezto = { enable = true; pmodules = [