auto commit in shell