aboutsummaryrefslogtreecommitdiff
path: root/home/zsh/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-15 19:55:50 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-15 19:55:50 -0700
commit7b64fa1b3f5020f833bc44081dcc64b04015284d (patch)
tree95d9aed39cb2926bc5f150deabf35896f61c235e /home/zsh/default.nix
parentterminal: once again, fix the colors (diff)
downloadinfra-7b64fa1b3f5020f833bc44081dcc64b04015284d.tar.gz
zsh: some cleanup
Diffstat (limited to 'home/zsh/default.nix')
-rw-r--r--home/zsh/default.nix8
1 files changed, 5 insertions, 3 deletions
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; };
};
}