Set optind = 1 whenever built-in commands return
envp is needless
Interpret $$ and $VAR
Implement built-in command cd