mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-19 04:21:14 +00:00
Merge pull request #513 from scorphus/cleanup_
#N/A: Cleanup shells/fish.py a bit
This commit is contained in:
commit
b8c5433dc4
@ -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