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 {
|
2024-05-04 23:15:57 +03:00
|
|
|
# Add my bash configuration to all *interactive* shells.
|
2024-04-03 06:21:29 +03:00
|
|
|
programs.bash.interactiveShellInit = bash.config;
|
2024-05-04 23:15:57 +03:00
|
|
|
|
|
|
|
# Remove default aliases for `l`, `ll` etc as they break my function definitions.
|
2024-03-23 14:50:41 +03:00
|
|
|
environment.shellAliases = lib.mkForce {};
|
2024-05-04 23:15:57 +03:00
|
|
|
|
2024-03-21 22:02:12 +03:00
|
|
|
environment.variables = {
|
2024-05-04 23:15:57 +03:00
|
|
|
# Specify terminal mode.
|
2024-04-06 03:03:58 +03:00
|
|
|
TERM = "xterm-256color";
|
2024-03-21 22:02:12 +03:00
|
|
|
};
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|