From 48e2c828ef3d60750d157f388830d639c9b2e0bc Mon Sep 17 00:00:00 2001 From: Henry Bley-Vroman Date: Mon, 18 Jun 2018 15:04:42 -0400 Subject: [PATCH] Thefuck: homebrew install documentation and thefuck repo link (#5940) * Thefuck: homebrew install documentation and thefuck repo link * thefuck: reformat error message --- plugins/thefuck/thefuck.plugin.zsh | 5 +++-- 1 file 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