summaryrefslogtreecommitdiff
path: root/plugins/thefuck/thefuck.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/thefuck/thefuck.plugin.zsh')
-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)"