zsh module: add /share/zsh to pathsToLink

Needed for completion functions
abbradar: replaced optionals with optional
This commit is contained in:
Spencer Whitt 2015-11-25 19:49:10 -05:00 committed by Nikolay Amiantov
parent 2455dac320
commit bf14849534

View File

@ -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 =