fix prompt for /* directories