From 8d3af48de72a8e6c0e380d2eafc940c60ff3e2c9 Mon Sep 17 00:00:00 2001 From: Ezri Brimhall Date: Tue, 12 Mar 2024 19:39:42 -0600 Subject: [PATCH] thefuck init is now conditional on thefuck being installed --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6110900..b743d91 100644 --- a/.zshrc +++ b/.zshrc @@ -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