Change `mkd` function to cd into last directory, rather than the first