zsh: Make clear alias work, could have caused issues
parent
dad1c7bbb3
commit
810e76bf84
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue