Browse Source

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

* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
Henry Bley-Vroman 6 years ago
parent
commit
48e2c828ef
1 changed files with 3 additions and 2 deletions
  1. 3 2
      plugins/thefuck/thefuck.plugin.zsh

+ 3 - 2
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