Price Hiller
0872808b7a
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m35s
23 lines
488 B
Nix
23 lines
488 B
Nix
{ config, ... }:
|
|
{
|
|
programs = {
|
|
z-lua = {
|
|
enable = true;
|
|
options = [
|
|
"enhanced"
|
|
"once"
|
|
];
|
|
};
|
|
zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
initExtra = builtins.readFile ./init-extra.zsh;
|
|
completionInit =
|
|
let
|
|
zsh-cache-dir = "${config.xdg.cacheHome}/zsh";
|
|
in
|
|
"mkdir -p ${zsh-cache-dir} && autoload -U compinit && compinit -d ${zsh-cache-dir}/zcompdump-$ZSH_VERSION";
|
|
};
|
|
};
|
|
}
|