mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
change encoding of return statement to utf8
This commit is contained in:
parent
3d41a3fb7c
commit
6bb7d79ddc
@ -105,7 +105,7 @@ class Fish(Generic):
|
|||||||
aliases = self.get_aliases()
|
aliases = self.get_aliases()
|
||||||
binary = command_script.split(' ')[0]
|
binary = command_script.split(' ')[0]
|
||||||
if binary in aliases:
|
if binary in aliases:
|
||||||
return 'fish -ic "{}"'.format(command_script.replace('"', r'\"'))
|
return 'fish -ic "{}"'.format(command_script.replace('"', r'\"')).encode('utf8')
|
||||||
else:
|
else:
|
||||||
return command_script
|
return command_script
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user