mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-23 21:39:32 +00:00
11 lines
228 B
Python
11 lines
228 B
Python
def match(command):
|
|
return (command.script.startswith(u'man')
|
|
and u'command not found' in command.stderr.lower())
|
|
|
|
|
|
def get_new_command(command):
|
|
return u'man {}'.format(command.script[3:])
|
|
|
|
|
|
priority = 2000
|