nixpkgs/nixos/modules/programs/bash
Gabriella Gonzalez b1bcd7acba nixos/bash: Add support for /etc/bash_logout
This adds a new `programs.bash.logout` option which configures the Bash
logout script.

Carefully note that the stock Bash does not support a global logout
script and only supports user-local logout scripts in `~/.bash_logout`.
However, Nixpkgs patches Bash to support a global `/etc/bash_logout`
script here:

ee0fecd318/pkgs/shells/bash/5.nix (L48)

… and the `programs.bash.logout` option configures that logout script.
2025-04-06 09:57:48 -07:00
..
bash-completion.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
bash.nix nixos/bash: Add support for /etc/bash_logout 2025-04-06 09:57:48 -07:00
blesh.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
inputrc
ls-colors.nix bash: allow setting lsColorsFile to null 2025-03-13 22:41:44 +05:30
undistract-me.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00