From 380827d1d992476be9b8e47822593d3ee3eb6c27 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Thu, 23 Apr 2015 11:26:19 +0200 Subject: [PATCH] Using eval for Bash alias This fixes #108. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d584ed2..f2137f8e 100644 --- a/README.md +++ b/README.md @@ -115,8 +115,8 @@ brew install thefuck And add to `.bashrc` or `.zshrc` or `.bash_profile`(for OSX): ```bash -alias fuck='$(thefuck $(fc -ln -1))' -# You can use whatever you want as an alias, like for mondays: +alias fuck='eval $(thefuck $(fc -ln -1))' +# You can use whatever you want as an alias, like for Mondays: alias FUCK='fuck' ```