diff --git a/.bashrc b/.bashrc index 437e2e8..1b20686 100644 --- a/.bashrc +++ b/.bashrc @@ -171,7 +171,9 @@ export NVM_DIR="$HOME/.nvm" source /usr/share/doc/fzf/examples/key-bindings.bash # thefuck -eval $(thefuck --alias) +if [[ -x "$(command -v thefuck)" ]]; then + eval $(thefuck --alias) +fi # Only load liquidprompt in interactive shells, not from a script or from scp [[ $- == *i* ]] && [ -f /usr/share/liquidprompt/liquidprompt ] && . /usr/share/liquidprompt/liquidprompt