From ec8e493b5ae52616b57c8c12e43fd064d4ac93c5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 20 Sep 2015 20:34:10 +0200 Subject: [PATCH] thefuck: Use "thefuck --alias" for initialization --- plugins/thefuck/thefuck.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/thefuck/thefuck.zshrc b/plugins/thefuck/thefuck.zshrc index e37f76e..171f8fa 100644 --- a/plugins/thefuck/thefuck.zshrc +++ b/plugins/thefuck/thefuck.zshrc @@ -4,4 +4,4 @@ # Make sure that "thefuck(1)" is installed (( $+commands[thefuck] )) || return -alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R' +eval "$(thefuck --alias)" -- 2.39.2