feat: make bash have better history management

This commit is contained in:
Jet 2026-03-15 14:36:29 -07:00
parent bf4cd75c19
commit 8fed12f03a
No known key found for this signature in database

View file

@ -216,6 +216,10 @@
programs.bash = { programs.bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
historyControl = [ "ignoredups" "erasedups" ];
historySize = 50000;
historyFileSize = 100000;
shellOptions = [ "histappend" "checkwinsize" "globstar" ];
shellAliases = { shellAliases = {
"dr" = "direnv reload"; "dr" = "direnv reload";
"da" = "direnv allow"; "da" = "direnv allow";