Fix prompt recursive search, ignore some pyrc things