diff options
| author | Colin Barrett <colin@springsandstruts.com> | 2017-10-06 22:08:44 -0400 |
|---|---|---|
| committer | Colin Barrett <colin@springsandstruts.com> | 2017-10-15 23:26:16 -0400 |
| commit | a6cd3bb61ffb29d74ed86cfbbde831b58e00aed7 (patch) | |
| tree | 46c4003abc18f42d2a1fd71faecd8717bfac3881 /modules/environment | |
| parent | 48c8e01112c7483633a37f1534388e5fa42ed747 (diff) | |
Port over the NixOS fish module
Diffstat (limited to 'modules/environment')
| -rw-r--r-- | modules/environment/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index 3089362..a6fcf26 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -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 = '' |
