mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
Merge pull request #435 from scorphus/cache-fish-aliases
#353 Cache Fish aliases too
This commit is contained in:
commit
9c9a7343de
@ -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