mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Merge pull request #435 from scorphus/cache-fish-aliases
#353 Cache Fish aliases too
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user