feat: make bash have better history management
This commit is contained in:
parent
bf4cd75c19
commit
8fed12f03a
1 changed files with 4 additions and 0 deletions
4
home.nix
4
home.nix
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue