1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

fish: link /share/fish when enabled

This commit is contained in:
Daiderd Jordan 2017-05-13 15:05:36 +02:00
parent 2343363b5b
commit 1c30a6ab2d
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -111,6 +111,13 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.fish ];
environment.pathsToLink = [ "/share/fish" ];
environment.loginShell = mkDefault "${shell}/bin/fish -l";
environment.variables.SHELL = mkDefault "${shell}/bin/fish";
environment.etc."fish/config.fish".text = ''
# /etc/fish/config.fish: DO NOT EDIT -- this file has been generated automatically.
@ -141,14 +148,6 @@ in
end
'';
# include programs that bring their own completions
# FIXME: environment.pathsToLink = [ "/share/fish/vendor_completions.d" ];
environment.systemPackages = [ pkgs.fish ];
environment.loginShell = mkDefault "${shell}/bin/fish -l";
environment.variables.SHELL = mkDefault "${shell}/bin/fish";
};
}