Replaced cd autocmd with one that works on spaces