mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
Fix splitting of command line
This commit is contained in:
parent
bf5373dcca
commit
60b545acb4
@ -14,7 +14,7 @@ source_layouts = [u'''йцукенгшщзхъфывапролджэячсмит
|
||||
def _get_matched_layout(command):
|
||||
# don't use command.split_script here because a layout mismatch will likely
|
||||
# result in a non-splitable sript as per shlex
|
||||
cmd = command.split(' ')
|
||||
cmd = command.script.split(' ')
|
||||
for source_layout in source_layouts:
|
||||
is_all_match = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user