aboutsummaryrefslogtreecommitdiff
path: root/modules/user/zsh/default.nix
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-03-18 12:04:07 -0400
committerRosa <rosaontheweb@proton.me>2026-03-18 12:04:07 -0400
commitcad9638875c04122b04d47242ddfc76e21e77029 (patch)
treed80077f45b7b0d7513b3af0dabe6d2d992c846b7 /modules/user/zsh/default.nix
parentce19b701046c064a1eb39098d8537b2c4964a86e (diff)
progress on sway configuration
Diffstat (limited to 'modules/user/zsh/default.nix')
-rw-r--r--modules/user/zsh/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/user/zsh/default.nix b/modules/user/zsh/default.nix
new file mode 100644
index 0000000..6f49406
--- /dev/null
+++ b/modules/user/zsh/default.nix
@@ -0,0 +1,25 @@
+{
+ config,
+ lib,
+ options,
+ ...
+}:
+{
+ config.programs.zsh = {
+ enable = lib.mkDefault true; # default user shell
+ autocd = true;
+ autosuggestion = {
+ enable = lib.mkDefault true;
+ strategy = [
+ "history"
+ "completion"
+ ];
+ };
+
+ history.ignoreAllDups = true;
+ initContent = builtins.readFile ./zshrc.zsh;
+ #loginExtra = builtins.readFile ./zlogin.zsh;
+ setOptions = [ "extendedglob" ];
+ syntaxHighlighting.enable = true;
+ };
+}