Emacs: Default binary to run with M-x ansi-term

不羁的心 提交于 2019-12-04 01:45:12

There are a number of ways to specify the default shell:

  • Set the variable explicit-shell-file-name. For example, in your .emacs: (setq explicit-shell-file-name "/bin/zsh")
  • Set the environment variable ESHELL
  • Set the environment variable SHELL
phils

Alternatively, it would be great to have Emacs to just run the binary I want when I type M-x my-ansi-term

See Remote ssh connection from within Emacs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!