history fix

This commit is contained in:
John Lancaster
2026-04-19 15:59:28 -05:00
parent c1bfa64cc8
commit 932616177a
+4 -2
View File
@@ -1,6 +1,7 @@
{ self, inputs, ... }:
let
username = "john";
historySize = 10000;
homeEndKeyBindings = ''
# Normalize common Home/End escape sequences across terminal emulators.
bindkey "^[[H" beginning-of-line
@@ -52,8 +53,8 @@ in
"eza"
"clear"
];
save = 1000;
size = 1000;
save = historySize;
size = historySize;
share = true;
};
oh-my-zsh = {
@@ -127,6 +128,7 @@ in
${homeEndKeyBindings}
HISTFILE=$HOME/.config/zsh/.zsh_history
SAVEHIST=${toString historySize}
HISTORY_IGNORE=${lib.escapeShellArg "(${lib.concatStringsSep "|" ignorePatterns})"}
HOSTNAME=$(hostname -s)