Port over the NixOS fish module

This commit is contained in:
Colin Barrett 2017-10-06 22:08:44 -04:00
parent 48c8e01112
commit a6cd3bb61f
2 changed files with 111 additions and 64 deletions

View file

@ -105,6 +105,26 @@ in {
'';
};
environment.shellInit = mkOption {
default = "";
description = ''
Shell script code called during shell initialisation.
This code is asumed to be shell-independent, which means you should
stick to pure sh without sh word split.
'';
type = types.lines;
};
environment.loginShellInit = mkOption {
default = "";
description = ''
Shell script code called during login shell initialisation.
This code is asumed to be shell-independent, which means you should
stick to pure sh without sh word split.
'';
type = types.lines;
};
environment.interactiveShellInit = mkOption {
default = "";
description = ''