bash: increase history size, ignore duplicates

This commit is contained in:
teutat3s 2024-04-15 13:22:24 +02:00
parent 73a6c299ce
commit 10a9f1c0b0
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -9,7 +9,8 @@
in { in {
enable = true; enable = true;
historyControl = ["ignorespace"]; historyControl = ["ignoredups" "ignorespace"];
historyFileSize = 300000;
# Run when initializing a login shell # Run when initializing a login shell
profileExtra = if config.programs.sway.enable then '' profileExtra = if config.programs.sway.enable then ''