Disable Zsh history completely
zsh
Solution
I don't see anything in the zsh man page that completely disables history. Even setting `HISTSIZE=0` seems to reset the value of `HISTSIZE` to 1.
You'll probably have better luck changing the key bindings with `bindkey` so that history features never occur. For example, `bindkey -r "^[[A"` for my up-arrow key (note that I actually typed a caret and two brackets, not an escape key).
Problem
I would like to disable Zsh history (arrow up) and zle history search (namely esc+p) completely. How can I achieve this? My current `.zshrc`: ``` unsetopt hist_append unsetopt hist_expand HISTFILE= HISTSIZE=SAVEHIST=0 ``` Currently I have history buffer of one, but I'd like to have history of zero. 21-10-2016 Update: I've added ``` bindkey -r "^[p" bindkey -r "^Xr" bindkey -r "^Xs" bindkey -r "^[[A" bindkey -r "^[[B" bindkey -r "^[n" ``` to get rid of history features that I use (esc+p is deeply hardwired to my backbone - so difficult to unlearn).