mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
#353 Cache Fish aliases too
This commit is contained in:
parent
a19833d0c7
commit
3803452980
@ -164,6 +164,7 @@ class Fish(Generic):
|
||||
'end').format(fuck)
|
||||
|
||||
@memoize
|
||||
@cache('.config/fish/config.fish', '.config/fish/functions')
|
||||
def get_aliases(self):
|
||||
overridden = self._get_overridden_aliases()
|
||||
proc = Popen(['fish', '-ic', 'functions'], stdout=PIPE, stderr=DEVNULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user