dots/users/price/conf/zsh/default.nix
Price Hiller 0872808b7a
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m35s
refactor(hm/price): use z.lua via home manager not zsh
2024-09-07 13:35:51 -05:00

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";
};
};
}