From f9b4796c2ddc8c46abddb623419e00bdd0b2c56a Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 20 Mar 2022 17:04:03 +0000 Subject: [PATCH] Fix thefuck loading --- zshrc.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc.zsh b/zshrc.zsh index 9da50e6..b1887c1 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -119,8 +119,8 @@ test -e $HOME/.extra && source $HOME/.extra eval $(/usr/libexec/path_helper) # Init the fuck -if type thefuck &> /dev/null; then - eval $(thefuck --alias) +if type thefuck > /dev/null; then + eval "$(thefuck --alias)" fi # https://github.com/wfxr/forgit