thefuck init is now conditional on thefuck being installed

This commit is contained in:
Ezri Brimhall 2024-03-12 19:39:42 -06:00
parent d9a8931818
commit 8d3af48de7
Signed by: ezri
GPG Key ID: 41520EAF66DF5A25

4
.zshrc
View File

@ -6,7 +6,9 @@ for file in $HOME/.config/zsh/*.zsh; do
source $file
done
eval $(thefuck --alias)
if which thefuck &> /dev/null; then
eval $(thefuck --alias)
fi
setopt INC_APPEND_HISTORY_TIME