mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-12 07:59:01 +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)
|
'end').format(fuck)
|
||||||
|
|
||||||
@memoize
|
@memoize
|
||||||
|
@cache('.config/fish/config.fish', '.config/fish/functions')
|
||||||
def get_aliases(self):
|
def get_aliases(self):
|
||||||
overridden = self._get_overridden_aliases()
|
overridden = self._get_overridden_aliases()
|
||||||
proc = Popen(['fish', '-ic', 'functions'], stdout=PIPE, stderr=DEVNULL)
|
proc = Popen(['fish', '-ic', 'functions'], stdout=PIPE, stderr=DEVNULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user