mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	add man_no_space command
This commit is contained in:
		
							
								
								
									
										9
									
								
								thefuck/rules/man_no_space.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								thefuck/rules/man_no_space.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | def match(command, settings): | ||||||
|  |     return (command.script.startswith(u'man') | ||||||
|  |             and u'command not found' in command.stderr.lower()) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def get_new_command(command, settings): | ||||||
|  |     return u'man {}'.format(command.script[3:]) | ||||||
|  |  | ||||||
|  | priority = 2000 | ||||||
		Reference in New Issue
	
	Block a user