1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00

add man_no_space command

This commit is contained in:
SanketDG 2015-05-08 00:15:32 +05:30
parent 29e70e14a0
commit 793e883073

View 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