29 lines
566 B
Nix
29 lines
566 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.bash = let
|
|
init = /* bash */ ''
|
|
source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
'';
|
|
in {
|
|
enable = true;
|
|
shellAliases = {
|
|
ll = "ls -l";
|
|
la = "ls -a";
|
|
lla = "ls -la";
|
|
};
|
|
shellOptions = [
|
|
"histappend"
|
|
"checkwinsize"
|
|
"extglob"
|
|
"globstar"
|
|
"checkjobs"
|
|
];
|
|
enableCompletion = false;
|
|
|
|
} // pkgs.lib.mkIf (pkgs.version != "24.05") {
|
|
shellInit = init;
|
|
} // pkgs.lib.mkIf (pkgs.version != "25.11") {
|
|
profileExtra = init;
|
|
};
|
|
}
|