Disable zsh history file

This commit is contained in:
Tyler Beckman 2024-12-23 00:46:07 -07:00
parent 931380d698
commit 4c09acde73
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -24,6 +24,17 @@
bindkey "^H" backward-kill-word
bindkey "^Z" undo
'';
# Disable saving the history file, as it is handled by atuin
history = {
# Tell it to not save anything to disk
save = 0;
# If it still tries to save anything, have it write to /dev/null instead just in case
path = "/dev/null";
# We leave size at the default to allow zsh to have command history in memory
# for features like !! or !cmdname, but simply have it stop writing to disk
size = 10000;
};
};
# Atuin shell history