blob: 0916809668b6544e8b0df417b833a253c04d4ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{config, ...}: {
imports = [
./plugins.nix
./editing.nix
];
programs.zsh = {
enable = true;
# 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<...<%~%<<%# '
'';
};
}
|