home: add zsh module
This commit is contained in:
parent
71dcd216f0
commit
05c8cbc548
|
@ -1,5 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
27
home/zsh.nix
Normal file
27
home/zsh.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
dotDir = ".config/zsh"; # Don't clutter $HOME
|
||||
enableCompletion = true;
|
||||
|
||||
history = {
|
||||
size = 50000;
|
||||
ignoreSpace = true;
|
||||
ignoreDups = true;
|
||||
share = true;
|
||||
};
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "fast-syntax-highlighting";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zdharma";
|
||||
repo = "fast-syntax-highlighting";
|
||||
rev = "v1.55";
|
||||
sha256 = "sha256-DWVFBoICroKaKgByLmDEo4O+xo6eA8YO792g8t8R7kA=";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue