Compare commits

..

No commits in common. "49972b75fa78383c64a59e264128024e559380d9" and "3d25c09b4801d3c8248006b81f90f18d1757bf62" have entirely different histories.

2 changed files with 1 additions and 7 deletions

View File

@ -5,7 +5,6 @@
zsh = { zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableGlobalCompInit = false;
enableBashCompletion = true; enableBashCompletion = true;
}; };
nix-ld.enable = true; nix-ld.enable = true;

View File

@ -1,13 +1,8 @@
{ config, ... }: { ... }:
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
initExtra = builtins.readFile ./init-extra.zsh; 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";
}; };
} }