From c86f5061d3d0363ab2dcde7209d4bbe06856567d Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Tue, 21 Apr 2015 10:56:02 +0200 Subject: [PATCH] Fix shellfix alias. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 6087b5f..00abfbf 100644 --- a/zshrc +++ b/zshrc @@ -21,5 +21,5 @@ gvim='gvim --remote-tab' if (( $+commands[thefuck] )) then - alias fuck='thefuck' + alias fuck='$(thefuck $(fc -ln -1))' fi