refactor(hm/price): ensure zcompdump
gets put under $XDG_CACHE_HOME
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m10s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m10s
This commit is contained in:
parent
eba320f53b
commit
49972b75fa
@ -1,8 +1,13 @@
|
||||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user