Rewrite split-cmd-line for command completion, now the same as for command execution.