From 810e76bf84acd3fd117308d65aae3c42ecbb8892 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Thu, 9 Dec 2021 10:32:53 -0500 Subject: [PATCH] zsh: Make clear alias work, could have caused issues --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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