mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-11-04 09:02:08 +00:00 
			
		
		
		
	Merge pull request #527 from josephfrazier/brew-update
Add `brew update` to Homebrew commands
This commit is contained in:
		@@ -15,7 +15,7 @@ def _get_brew_commands(brew_path_prefix):
 | 
				
			|||||||
    brew_cmd_path = brew_path_prefix + BREW_CMD_PATH
 | 
					    brew_cmd_path = brew_path_prefix + BREW_CMD_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return [name[:-3] for name in os.listdir(brew_cmd_path)
 | 
					    return [name[:-3] for name in os.listdir(brew_cmd_path)
 | 
				
			||||||
            if name.endswith('.rb')]
 | 
					            if name.endswith(('.rb', '.sh'))]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def _get_brew_tap_specific_commands(brew_path_prefix):
 | 
					def _get_brew_tap_specific_commands(brew_path_prefix):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user