diff --git a/common/programs/zsh.nix b/common/programs/zsh.nix index 10fddbe..14bbc7f 100644 --- a/common/programs/zsh.nix +++ b/common/programs/zsh.nix @@ -13,4 +13,17 @@ in enable = true; oh-my-zsh.enable = true; initExtra = zshInitArgs; + 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"; + }; + } + ]; }