Show a dirname instead of a full path in shell prompt