diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 4de2c5c..991104e 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -42,4 +42,9 @@ alias lsd="ls" alias j="jump" # Initialize thefuck -eval $(thefuck --alias) +command -v thefuck > /dev/null 2>&1 + +# fuck aliases +if [ $? -eq 0 ]; then + eval $(thefuck --alias) +fi