Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334{ config, lib, pkgs, ...}:
let cfg = config.my.bash;in{ options.my.bash.enable = lib.mkEnableOption "bash";
config = lib.mkIf cfg.enable { programs.bash = { enable = true; historyIgnore = [ "ls" "cd" "exit" ]; shellAliases = import ./shell-aliases.nix { inherit pkgs; }; historyControl = [ "ignorespace" "ignoredups" "erasedups" ]; profileExtra = '' export PATH="''$HOME/.local/bin:''$PATH" ''; }; };}