zsh: Make clear alias work, could have caused issues

pull/1/head
earnest ma 2021-12-09 10:32:53 -05:00
parent dad1c7bbb3
commit 810e76bf84
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 1 additions and 1 deletions

View File

@ -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