diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:22:29 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:23:58 -0800 |
| commit | 60da6bc47620681b557ea2d105df87b22382efcd (patch) | |
| tree | 000a2c858a5bbcd9d0e9ed1c5bd57546420f65d0 /users/fcuny/cli/zsh.nix | |
| parent | home-manager: last typo (diff) | |
| download | infra-60da6bc47620681b557ea2d105df87b22382efcd.tar.gz | |
home-manager: re-organize configuration for myself
Diffstat (limited to 'users/fcuny/cli/zsh.nix')
| -rw-r--r-- | users/fcuny/cli/zsh.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/fcuny/cli/zsh.nix b/users/fcuny/cli/zsh.nix new file mode 100644 index 0000000..6b56d35 --- /dev/null +++ b/users/fcuny/cli/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 + ''; + }; +} |
