Getting Emacs to respect my default shell + options

后端 未结 2 1792
执笔经年
执笔经年 2021-02-05 15:04

I\'m trying to get my Emacs shell to mimic that of my standard terminal sessions. Basically I would like it to respect the same PATH as well as the command prompt.

So f

2条回答
  •  逝去的感伤
    2021-02-05 15:35

    For the path, there is the package exec-path-from-shell (OS X only).

    It gets $MANPATH, $PATH and exec-path from the shell and sets them for emacs.

提交回复
热议问题