mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +00:00
#N/A: Cleanup shells/fish.py a bit
This commit is contained in:
parent
a4b690369c
commit
e2883430bc
@ -50,10 +50,6 @@ class Fish(Generic):
|
|||||||
else:
|
else:
|
||||||
return command_script
|
return command_script
|
||||||
|
|
||||||
def from_shell(self, command_script):
|
|
||||||
"""Prepares command before running in app."""
|
|
||||||
return self._expand_aliases(command_script)
|
|
||||||
|
|
||||||
def _get_history_file_name(self):
|
def _get_history_file_name(self):
|
||||||
return os.path.expanduser('~/.config/fish/fish_history')
|
return os.path.expanduser('~/.config/fish/fish_history')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user