chore(emacs): improve shell environment handling

Created by  Edward Langley  on June 19, 2023
RSDDIGOYVNA4A2ID75ESV3XEPVFYCACD3XWCGT3CC2HGFIUMPI7AC
Change contents