From 7b64fa1b3f5020f833bc44081dcc64b04015284d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 May 2022 19:55:50 -0700 Subject: zsh: some cleanup --- home/zsh/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'home/zsh/default.nix') diff --git a/home/zsh/default.nix b/home/zsh/default.nix index cc19579..392ccfc 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -20,7 +20,9 @@ in { ignoreSpace = true; ignoreDups = true; share = false; - path = "${config.xdg.dataHome}/zsh/zsh_history"; + # see + # https://github.com/nix-community/home-manager/blob/32a7da69dc53c9eb5ad0675eb7fdc58f7fe35272/modules/programs/zsh.nix#L537 + path = ".local/share/zsh/zsh_history"; }; localVariables = { @@ -29,14 +31,14 @@ in { REPORTTIME = 5; }; + shellAliases = { ll = "ls -l --color=auto"; }; + defaultKeymap = "emacs"; initExtra = lib.concatMapStrings builtins.readFile [ ./completion-style.zsh ./options.zsh ./prompt.zsh ]; - }; - programs.dircolors = { enable = true; }; }; } -- cgit v1.2.3