From dcc0ce7ff3b6ea6572e90dc3b5b41ef6586fe5e6 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Thu, 28 Jan 2016 20:44:35 -0200 Subject: [PATCH] #449 Fix Fish.how_to_configure() Fix #449 --- thefuck/shells.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/shells.py b/thefuck/shells.py index d14a2d77..e4f44038 100644 --- a/thefuck/shells.py +++ b/thefuck/shells.py @@ -199,7 +199,8 @@ class Fish(Generic): return u'; and '.join(commands) def how_to_configure(self): - return 'eval thefuck --alias', '~/.config/fish/config.fish' + return (r"eval (thefuck --alias | tr '\n' ';')", + '~/.config/fish/config.fish') class Zsh(Generic):