Add function for listing directories

And remove the basic alias.