diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-05-13 14:45:45 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-05-13 14:45:45 +0200 |
| commit | 2343363b5b67c02781b57e61ce8be333da5c7550 (patch) | |
| tree | a260c79bea1c9c9e077caf5f9d33a31de1726a32 /modules/programs | |
| parent | a8aee53b9b9d0e9d57c4ee1954fa9f009074d91b (diff) | |
zsh: link /share/zsh when enabled
Diffstat (limited to 'modules/programs')
| -rw-r--r-- | modules/programs/zsh/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index e1405de..101313a 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -117,6 +117,8 @@ in ] ++ optional cfg.enableCompletion pkgs.nix-zsh-completions ++ optional cfg.enableSyntaxHighlighting pkgs.zsh-syntax-highlighting; + environment.pathsToLink = [ "/share/zsh" ]; + environment.loginShell = mkDefault "${shell}/bin/zsh -l"; environment.variables.SHELL = mkDefault "${shell}/bin/zsh"; |
