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:
parent
1b8e3d3aeb
commit
abd9a7c2fe
1 changed files with 2 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue