environment.shellInit

NixOS option

strings concatenated with "\n"
Written as a quoted string

Shell script code called during shell initialisation. This code is assumed to be shell-independent, which means you should stick to pure sh without sh word split.

type: strings concatenated with "\n"
Default
""
declared in: nixos/modules/config/shells-environment.nixView source on NixOS/nixpkgs →