Allow for cd without trailing slash

Adds in a trailing slash if it's a relative cd
Before `cd ..` didn't work