home/zsh: precreate compinit directory with systemd-tmpfiles
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, config, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.programs.zsh;
|
cfg = config.programs.zsh;
|
||||||
in
|
in
|
||||||
@@ -16,8 +16,12 @@ in
|
|||||||
})}
|
})}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.zsh = {
|
systemd.user.tmpfiles.settings."10-zsh"."${config.xdg.cacheHome}/zsh".d = {
|
||||||
|
mode = "0770";
|
||||||
|
user = config.home.username;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
# enableSyntaxHighlighting = true;
|
# enableSyntaxHighlighting = true;
|
||||||
|
Reference in New Issue
Block a user