summaryrefslogtreecommitdiff
path: root/plugins/thefuck
diff options
context:
space:
mode:
authorHenry Bley-Vroman <bley.vroman@gmail.com>2018-06-18 15:04:42 -0400
committerMarc Cornellà <marc.cornella@live.com>2018-06-18 21:04:42 +0200
commit48e2c828ef3d60750d157f388830d639c9b2e0bc (patch)
tree53d95ebe708f45f2cabc2a18e50676df3ab612d1 /plugins/thefuck
parentc99844d84891076dceb5638bd6f4ad1599358cea (diff)
downloadzsh-48e2c828ef3d60750d157f388830d639c9b2e0bc.tar.gz
zsh-48e2c828ef3d60750d157f388830d639c9b2e0bc.tar.bz2
zsh-48e2c828ef3d60750d157f388830d639c9b2e0bc.zip
Thefuck: homebrew install documentation and thefuck repo link (#5940)
* Thefuck: homebrew install documentation and thefuck repo link * thefuck: reformat error message
Diffstat (limited to 'plugins/thefuck')
-rw-r--r--plugins/thefuck/thefuck.plugin.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/thefuck/thefuck.plugin.zsh b/plugins/thefuck/thefuck.plugin.zsh
index 765e2b9a5..ac88e67de 100644
--- a/plugins/thefuck/thefuck.plugin.zsh
+++ b/plugins/thefuck/thefuck.plugin.zsh
@@ -1,6 +1,7 @@
if [[ -z $commands[thefuck] ]]; then
- echo 'thefuck is not installed, you should "pip install thefuck" first'
- 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