blob: fe574a4251280f3195f6f7a4aef41e35cf0fa9b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ pkgs, config, lib, ... }:
{
imports =
[
./plugins.nix
];
programs.zsh = {
enable = true;
defaultKeymap = "viins";
# Feeble attempt at cleaning up home directory.
# TODO: dotDir = (pathRelativeTo config.xdg.configHome config.home) + "/zsh";
dotDir = ".config/zsh";
history.path = config.xdg.cacheHome + "/zsh/history";
shellAliases = {
"mv" = "mv -i";
"rm" = "rm -i";
"cp" = "cp -i";
"ls" = "ls -A --color=auto";
"grep" = "grep --color=auto";
};
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}
|