mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 01:28:56 +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):
|
def _get_matched_layout(command):
|
||||||
# don't use command.split_script here because a layout mismatch will likely
|
# don't use command.split_script here because a layout mismatch will likely
|
||||||
# result in a non-splitable sript as per shlex
|
# result in a non-splitable sript as per shlex
|
||||||
cmd = command.split(' ')
|
cmd = command.script.split(' ')
|
||||||
for source_layout in source_layouts:
|
for source_layout in source_layouts:
|
||||||
is_all_match = True
|
is_all_match = True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user