From 57ebbae76e056f9925869610de708d97789deaf4 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 27 May 2023 20:09:10 +0530 Subject: [PATCH] setup zsh in rico --- hosts/rico2/programs/default.nix | 6 +----- hosts/rico2/programs/zsh.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 hosts/rico2/programs/zsh.nix diff --git a/hosts/rico2/programs/default.nix b/hosts/rico2/programs/default.nix index d5ca2d0..414c4ce 100644 --- a/hosts/rico2/programs/default.nix +++ b/hosts/rico2/programs/default.nix @@ -2,10 +2,6 @@ imports = [ ./neovim.nix ./starship.nix + ./zsh.nix ]; - - programs = { - zsh.enable = true; - }; - environment.pathsToLink = ["/share/zsh"]; } diff --git a/hosts/rico2/programs/zsh.nix b/hosts/rico2/programs/zsh.nix new file mode 100644 index 0000000..898f374 --- /dev/null +++ b/hosts/rico2/programs/zsh.nix @@ -0,0 +1,10 @@ +{ ... }: { + programs = { + zsh = { + enable = true; + autosuggestions.enable = true; + syntaxHighlighting.enable = true; + }; + }; + environment.pathsToLink = ["/share/zsh"]; +}