Add zsh configuration

This commit is contained in:
panotaka
2023-11-25 23:01:43 -04:00
parent a57617c4d2
commit 5a0a59d0e7
2 changed files with 29 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
{
imports = [
./nushell
./zsh
./common.nix
./starship.nix
./git.nix

View File

@@ -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"; }
];
};
};
}