1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 10:51:11 +01:00

#449 Fix Fish.how_to_configure()

Fix #449
This commit is contained in:
Pablo Santiago Blum de Aguiar 2016-01-28 20:44:35 -02:00
parent fee874cddc
commit dcc0ce7ff3

View File

@ -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):