complete directories for p command