Compare commits
2 Commits
3d25c09b48
...
49972b75fa
Author | SHA1 | Date | |
---|---|---|---|
49972b75fa | |||
eba320f53b |
@ -5,6 +5,7 @@
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableGlobalCompInit = false;
|
||||
enableBashCompletion = true;
|
||||
};
|
||||
nix-ld.enable = true;
|
||||
|
@ -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