Fix the `c` command

The trailing slash causes `c` to enter the last match rather than the
first, for some reason. Remove the trailing slash so that the first
matched directory is entered.

Signed-off-by: David Celis <me@davidcel.is>