mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 07:50:09 +08:00
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:
parent
c99844d848
commit
48e2c828ef
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user