diff options
Diffstat (limited to 'users/zsh.nix')
-rw-r--r-- | users/zsh.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/zsh.nix b/users/zsh.nix new file mode 100644 index 0000000..be827b4 --- /dev/null +++ b/users/zsh.nix @@ -0,0 +1,21 @@ +{config, lib, pkgs, ...}: + +{ + + xdg.configFile."zsh/personal".source = config.lib.file.mkOutOfStoreSymlink ../configs/zsh; + + programs.zsh = { + enable = true; + enableAutosuggestions = true; + enableCompletion = true; + defaultKeymap = "emacs"; + history = { + save = 100000; + extended = true; + ignoreDups = true; + }; + initExtra = '' + source ${config.xdg.configHome}/zsh/personal/init.zsh + ''; + }; +} |