M-x shell
在 Emacs 的任意一个 buffer 中按下 "M-x"(也就是同时按下 "Alt" 和 "x"),然后输入 "shell",按下回车键即可打开 shell。
M-x eshell
除了常规的 shell 模式,Emacs 还提供了 eshell 模式。在 Emacs 的任意一个 buffer 中按下 "M-x",然后输入 "eshell",按下回车键即可打开 eshell。
与传统的 shell 不同,eshell 在 Emacs 中是一个 Emacs Lisp 实现的 shell。因此,它与 Emacs 的其他部分更加无缝地集成在一起,并支持 Emacs Lisp 语言的许多特性和函数。
以上是在 Emacs 中打开 shell 的两种方法。希望对你有所帮助。
-
173
-
用户112986583106
Shell
Emacs
-
586
-
TiouLims
Android Studio
Emacs
-
1203
-
Lucas_Linux
Emacs
Slack