init shell directory.