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

Remove unnecessary space in the DRY rule

This commit is contained in:
mcarton 2015-05-08 11:41:26 +02:00
parent 932a7c5db5
commit 56f636f3d8

View File

@ -5,7 +5,7 @@ def match(command, settings):
def get_new_command(command, settings):
return command.script[command.script.find(' '):]
return command.script[command.script.find(' ')+1:]
# it should be rare enough to actually have to type twice the same word, so
# this rule can have a higher priority to come before things like "cd cd foo"