provide support for cd when no  argument passed.