48e2c828ef3d60750d157f388830d639c9b2e0bc

Author
Henry Bley-Vroman <bley.vroman@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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

* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message

Diff

 1diff --git a/plugins/thefuck/thefuck.plugin.zsh b/plugins/thefuck/thefuck.plugin.zsh
 2index 765e2b9a5fd275c8a30c110a4cc1c5135435f113..ac88e67de12d855f3295b90911a455f6b1c30f59 100644
 3--- a/plugins/thefuck/thefuck.plugin.zsh
 4+++ b/plugins/thefuck/thefuck.plugin.zsh
 5@@ -1,6 +1,7 @@
 6 if [[ -z $commands[thefuck] ]]; then
 7-    echo 'thefuck is not installed, you should "pip install thefuck" first'
 8-    return -1
 9+    echo 'thefuck is not installed, you should "pip install thefuck" or "brew install thefuck" first.'
10+    echo 'See https://github.com/nvbn/thefuck#installation'
11+    return 1
12 fi
13 
14 # Register alias