mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
Remove unnecessary space in the DRY rule
This commit is contained in:
parent
932a7c5db5
commit
56f636f3d8
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user