diff --git a/home/shell/default.nix b/home/shell/default.nix index 7c65da5..7d2c322 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -2,6 +2,7 @@ { imports = [ ./nushell + ./zsh ./common.nix ./starship.nix ./git.nix diff --git a/home/shell/zsh/default.nix b/home/shell/zsh/default.nix new file mode 100644 index 0000000..7193241 --- /dev/null +++ b/home/shell/zsh/default.nix @@ -0,0 +1,28 @@ +{ config +, lib +, ... +}: +{ + programs.zsh = lib.mkForce { + enable = true; + + oh-my-zsh = { + enable = true; + plugins = [ "grc" "git" "thefuck" ]; + }; + + zplug = { + enable = true; + plugins = [ + { name = "zsh-users/zsh-autosuggestions"; } + { + name = "zsh-users/zsh-syntax-highlighting"; + } + { name = "marlonrichert/zsh-autocomplete"; } + { name = "hlissner/zsh-autopair"; } + + ]; + }; + + }; +}