support dir name completion