01b378357b57c6ca0447daa8818e18facc5d8739

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #4302 from kyleheyne/patch-1

thefuck-alias -> thefuck --alias

Diff

 1diff --git a/plugins/thefuck/thefuck.plugin.zsh b/plugins/thefuck/thefuck.plugin.zsh
 2index 8b1746e85494bea866b21aca4dd12539e8e23e23..765e2b9a5fd275c8a30c110a4cc1c5135435f113 100644
 3--- a/plugins/thefuck/thefuck.plugin.zsh
 4+++ b/plugins/thefuck/thefuck.plugin.zsh
 5@@ -4,7 +4,7 @@ if [[ -z $commands[thefuck] ]]; then
 6 fi
 7 
 8 # Register alias
 9-eval "$(thefuck-alias)"
10+eval "$(thefuck --alias)"
11 
12 fuck-command-line() {
13     local FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"