Use autoenv in ~/.autoenv.