Thefuck: homebrew install documentation and thefuck repo link (#5940)

* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
This commit is contained in:
Henry Bley-Vroman 2018-06-18 15:04:42 -04:00 committed by Marc Cornellà
parent c99844d848
commit 48e2c828ef

View file

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