blob: 8884f5630a4832bfb58f67ef4026981183d0468e (
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
|
{
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";
initExtra = ''
PROMPT='%F{41}->%f %B%(2L.LVL%L .)%b%F{red}%(?..E%? )%f%n@%U%m%u:%15<...<%~%<<%# '
'';
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}
|