2024-08-29 23:37:14 -05:00
|
|
|
{ config, ... }:
|
2024-05-28 18:48:59 -05:00
|
|
|
{
|
2024-09-07 13:35:01 -05:00
|
|
|
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";
|
|
|
|
};
|
2024-05-28 18:48:59 -05:00
|
|
|
};
|
|
|
|
}
|