1 2 3 4 5 6
HISTFILE=~/.local/zsh/history mkdir -p $(dirname $HISTFILE) HISTSIZE=100000 SAVEHIST=100000 setopt HIST_IGNORE_SPACE