Disable zsh history file
This commit is contained in:
parent
931380d698
commit
4c09acde73
1 changed files with 15 additions and 4 deletions
|
@ -24,6 +24,17 @@
|
||||||
bindkey "^H" backward-kill-word
|
bindkey "^H" backward-kill-word
|
||||||
bindkey "^Z" undo
|
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
|
# Atuin shell history
|
||||||
|
|
Loading…
Reference in a new issue