我用 ssh 用了十年,都不知道啥是 “两个ssh环境变量”
有什么变量要用直接在 Emacs 里设就行了。不用 Doom 但查了一下 doom env 默认只保存 $PATH 和 $MANPATH。
doom-package:exec-path-from-shell takes a whitelist approach and captures only
$PATHand$MANPATHby default. You must be proactive in order to capture all the envvars relevant to your development environment and tools.
Spacemacs 那个一股脑把变量全保存下来在我看來就是脑殘设计,$DISPLAY 这样每个 session 都不一样的变量都不过濾掉