zsh module: add /share/zsh to pathsToLink
Needed for completion functions abbradar: replaced optionals with optional
This commit is contained in:
parent
2455dac320
commit
bf14849534
@ -179,6 +179,8 @@ in
|
||||
environment.systemPackages = [ pkgs.zsh ]
|
||||
++ optional cfg.enableCompletion pkgs.nix-zsh-completions;
|
||||
|
||||
environment.pathsToLink = optional cfg.enableCompletion "/share/zsh";
|
||||
|
||||
#users.defaultUserShell = mkDefault "/run/current-system/sw/bin/zsh";
|
||||
|
||||
environment.shells =
|
||||
|
Loading…
Reference in New Issue
Block a user