feat(zsh): add plugins module
This commit is contained in:
parent
6dba397306
commit
8f903a742a
4 changed files with 36 additions and 6 deletions
|
|
@ -7,10 +7,17 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./plugins.nix
|
||||
];
|
||||
|
||||
config = mkIf (cfg.enable || admin.shell == "zsh") {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autocd = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
dotDir = ".config/zsh";
|
||||
history = {
|
||||
expireDuplicatesFirst = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue