bash: ignore leading space + duplicates in history

This commit is contained in:
teutat3s 2024-12-09 18:49:58 +01:00
parent 6645e10afa
commit 386f2b2ba5
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -8,7 +8,13 @@
${name} = { ${name} = {
programs.git.enable = true; programs.git.enable = true;
programs.starship.enable = true; programs.starship.enable = true;
programs.bash.enable = true; programs.bash = {
enable = true;
historyControl = [
"ignoredups"
"ignorespace"
];
};
programs.neovim = { programs.neovim = {
enable = true; enable = true;
vimAlias = true; vimAlias = true;