1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

zsh: remove shell wrapper

This commit is contained in:
Daiderd Jordan 2018-01-20 01:32:33 +01:00
parent 1b8e3d3aeb
commit abd9a7c2fe
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -11,15 +11,6 @@ let
fzfCompletion = ./fzf-completion.zsh;
fzfGit = ./fzf-git.zsh;
fzfHistory = ./fzf-history.zsh;
shell = pkgs.runCommand pkgs.zsh.name
{ buildInputs = [ pkgs.makeWrapper ]; }
''
source $stdenv/setup
mkdir -p $out/bin
makeWrapper ${pkgs.zsh}/bin/zsh $out/bin/zsh
'';
in
{
@ -114,8 +105,8 @@ in
environment.pathsToLink = [ "/share/zsh" ];
environment.loginShell = "${shell}/bin/zsh -l";
environment.variables.SHELL = "${shell}/bin/zsh";
environment.loginShell = "zsh -l";
environment.variables.SHELL = "${pkgs.zsh}/bin/zsh";
environment.etc."zshenv".text = ''
# /etc/zshenv: DO NOT EDIT -- this file has been generated automatically.