support darwin bash env