Get rid of error if thefuck is not installed

This commit is contained in:
Jiří Štefka 2022-01-09 13:38:13 +01:00 committed by GitHub
parent 46acef850d
commit fa4d1907e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
zshrc

@ -37,7 +37,7 @@ export YSU_MESSAGE_POSITION="after"
[ -f "$HOME/zsh/aliasrc" ] && source "$HOME/zsh/aliasrc"
# Initialize `thefuck`
eval $(thefuck --alias)
eval $(thefuck --alias) 2>/dev/null
# Load ; should be last.
source $HOME/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null