1
0
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:
Pablo Santiago Blum de Aguiar 2016-01-20 21:43:00 -02:00
parent a19833d0c7
commit 3803452980

View File

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