expand tilde so that directory completion works for ls, cd