summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkyleheyne <kyleheyne@gmail.com>2015-08-31 17:36:41 -0400
committerkyleheyne <kyleheyne@gmail.com>2015-08-31 17:36:41 -0400
commit022a060ec754f3ed54cb62acc3370310bfe71a50 (patch)
tree96da8c9c9440abba74cc9848764c3213a8b5364a
parentba5fd57c1ff4a8523715bab6acc35dbbeff88af7 (diff)
downloadzsh-022a060ec754f3ed54cb62acc3370310bfe71a50.tar.gz
zsh-022a060ec754f3ed54cb62acc3370310bfe71a50.tar.bz2
zsh-022a060ec754f3ed54cb62acc3370310bfe71a50.zip
thefuck-alias -> thefuck --alias
Per warning message.
-rw-r--r--plugins/thefuck/thefuck.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/thefuck/thefuck.plugin.zsh b/plugins/thefuck/thefuck.plugin.zsh
index 8b1746e85..765e2b9a5 100644
--- a/plugins/thefuck/thefuck.plugin.zsh
+++ b/plugins/thefuck/thefuck.plugin.zsh
@@ -4,7 +4,7 @@ if [[ -z $commands[thefuck] ]]; then
fi
# Register alias
-eval "$(thefuck-alias)"
+eval "$(thefuck --alias)"
fuck-command-line() {
local FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"