diff --git a/home-manager/home-zsh.nix b/home-manager/home-zsh.nix new file mode 100644 index 0000000..9faeb7c --- /dev/null +++ b/home-manager/home-zsh.nix @@ -0,0 +1,22 @@ +pkgs: { + enable = true; + oh-my-zsh = { + enable = true; + }; + syntaxHighlighting.enable = true; + enableAutosuggestions = true; + historySubstringSearch.enable = true; + cdpath = ["~/source"]; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.7.0"; + sha256 = "149zh2rm59blr2q458a5irkfh82y3dwdich60s9670kl3cl5h2m1"; + }; + } + ]; +}