【问题标题】:Use emacs shell (eshell) in multi-term多项使用emacs shell(eshell)
【发布时间】:2013-07-20 05:02:16
【问题描述】:

我刚刚在 emacs24 中设置了Multi-term,我正在尝试将其配置为能够打开多期运行的 eshell。

怎么办,指定eshell为shell程序??

例如,我正在尝试使用 eshell 创建等效项:

(defun multi-term-bash ()
                    "Make a multi-term buffer running bash."
                    (interactive)
                    (let ((multi-term-program "/bin/bash"))
                      (multi-term)))

【问题讨论】:

    标签: emacs


    【解决方案1】:

    恐怕这里的答案是:你不能。 =/
    multi-term 需要一个本机 shell 才能运行。同时,eshell 并不是真正的 shell,它是一种交互式 emacs 模式(完全用 elisp 编写),其作用类似于 shell。

    还有其他方法可以实现您的总体目标,首先出现的是 shell-switcher 和 multi-eshell。
    在 emacswiki 上查看此页面。
    http://www.emacswiki.org/emacs/EshellMultipleEshellBuffers

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-13
      • 2011-07-28
      • 1970-01-01
      • 2013-01-20
      • 2011-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多