GiselleSerate / myaliases

Useful shell aliases and functions.
6 stars 1 forks source link

cds command gives realpath errors #13

Closed aryarm closed 6 years ago

aryarm commented 6 years ago

If a directory doesn't exist, the cds command will display the realpath error along with the "directory or file not found" error that is implemented in the code. Let's quiet the realpath error.

aryarm commented 6 years ago

On a more dire note, realpath is not supported on all systems (specifically OSX). This is a big problem. But fixing it is apparently not straight-forward. Ugh