From 6ea9a32d11c6ac0edd581b3f2d736ca32f883d68 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Sat, 15 Jul 2023 15:24:50 -0400 Subject: [PATCH] Initialisms --- nix/home-manager/home.nix | 4 --- nix/home-manager/modules/packages/default.nix | 1 + nix/home-manager/modules/packages/zsh.nix | 30 +++++++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 nix/home-manager/modules/packages/zsh.nix diff --git a/nix/home-manager/home.nix b/nix/home-manager/home.nix index c4917b7..a86899a 100644 --- a/nix/home-manager/home.nix +++ b/nix/home-manager/home.nix @@ -134,10 +134,6 @@ enable = true; }; - programs.zsh = { - enable = false; - }; - imports = [ ./modules/packages ./modules/files.nix diff --git a/nix/home-manager/modules/packages/default.nix b/nix/home-manager/modules/packages/default.nix index f9c3f65..78efb73 100644 --- a/nix/home-manager/modules/packages/default.nix +++ b/nix/home-manager/modules/packages/default.nix @@ -17,6 +17,7 @@ in { ./neovim.nix ./starship.nix ./zellij.nix + ./zsh.nix ]; home.packages = with pkgs; [ diff --git a/nix/home-manager/modules/packages/zsh.nix b/nix/home-manager/modules/packages/zsh.nix new file mode 100644 index 0000000..7289115 --- /dev/null +++ b/nix/home-manager/modules/packages/zsh.nix @@ -0,0 +1,30 @@ +{ + config, + lib, + pkgs, + ... +}: { + programs.zsh = { + enable = false; + plugins = [ + { + # fast-syntax-highlighting + } + { + # zsh-completions + } + { + # zsh-completions-anyenv + } + { + # zsh-vimode-visual + } + ]; + history = { + # TODO + # HISTFILE=~/.histfile + # HISTSIZE=10000 + # SAVEHIST=10000 + }; + }; +}