summaryrefslogtreecommitdiff
path: root/home/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/zsh/default.nix')
-rw-r--r--home/zsh/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix
new file mode 100644
index 0000000..ce1820e
--- /dev/null
+++ b/home/zsh/default.nix
@@ -0,0 +1,17 @@
+{config, ...}: {
+ programs.zsh = {
+ enable = true;
+ enableCompletion = true;
+ enableGlobalCompInit = false;
+ autosuggestions.enable = true;
+ syntaxHighlighting.enable = true;
+ histSize = 10000;
+ };
+
+ home-manager.users.${config.user} = {
+ home.file = {
+ ".zshrc".source = ./zshrc;
+ ".zprofile".source = ./zprofile;
+ };
+ };
+}