thefuck: reformat error message

This commit is contained in:
Marc Cornellà 2018-06-18 21:04:05 +02:00 committed by GitHub
commit f4c5e104b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
if [[ -z $commands[thefuck] ]]; then
echo 'thefuck is not installed, you should "pip install thefuck" or "brew install thefuck" first. See https://github.com/nvbn/thefuck#installation'
return -1
echo 'thefuck is not installed, you should "pip install thefuck" or "brew install thefuck" first.'
echo 'See https://github.com/nvbn/thefuck#installation'
return 1
fi
# Register alias