Add zsh configuration
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
./nushell
|
||||
./zsh
|
||||
./common.nix
|
||||
./starship.nix
|
||||
./git.nix
|
||||
|
||||
28
home/shell/zsh/default.nix
Normal file
28
home/shell/zsh/default.nix
Normal 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"; }
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user