Added ~ to cdpath