mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +00:00
fish: link /share/fish when enabled
This commit is contained in:
parent
2343363b5b
commit
1c30a6ab2d
1 changed files with 7 additions and 8 deletions
|
@ -111,6 +111,13 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
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 = ''
|
environment.etc."fish/config.fish".text = ''
|
||||||
# /etc/fish/config.fish: DO NOT EDIT -- this file has been generated automatically.
|
# /etc/fish/config.fish: DO NOT EDIT -- this file has been generated automatically.
|
||||||
|
|
||||||
|
@ -141,14 +148,6 @@ in
|
||||||
end
|
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";
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue