diff --git a/zsh/.zshrc b/zsh/.zshrc index 83270bf..58d2cd0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -52,7 +52,7 @@ source "$HOME/.config/shell_common/aliases.sh" # zsh-specific aliases # clear zsh history: Adapted from Novimatrem: https://gitlab.com/Novimatrem/clear-bash-history -alias czh="echo 'Fully clearing history, then exiting...' && cat /dev/null > $XDG_CACHE_HOME/zshhistory && history -p && exit" +alias czh="echo 'Fully clearing history, then exiting...' && cat /dev/null > ${HISTFILE} && history -p && exit" # Completion _comp_options+=(globdots) # include hidden files