pub fn tokenize(input: &str, shell: ShellType) -> Vec<Segment>
Tokenize a command string according to shell type.