nix/module/common/Bash.nix

15 lines
394 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ lib, util, pkgs, ... } @args: let
2024-04-14 22:54:20 +03:00
bash = import ./bash args;
2024-04-03 06:21:29 +03:00
in {
# Add my bash configuration to all *interactive* shells.
2024-04-03 06:21:29 +03:00
programs.bash.interactiveShellInit = bash.config;
# Remove default aliases for `l`, `ll` etc as they break my function definitions.
environment.shellAliases = lib.mkForce {};
environment.variables = {
# Specify terminal mode.
2024-04-06 03:03:58 +03:00
TERM = "xterm-256color";
};
}