Also ensure that ~/.cache/zsh exists.
@@ -3,7 +3,8 @@
# tty. This file will always be sourced.
# Enable saving command history to file
HISTFILE=$HOME/.histfile
[ ! -d $HOME/.cache/zsh ] && mkdir -p $HOME/.cache/zsh
HISTFILE=$HOME/.cache/zsh/histfile
HISTSIZE=5000
SAVEHIST=5000
The note is not visible to the blocked user.