2017-04-12 72 views
0

我想让Spacemacs(即Emacs)使用Windows子系统作为Linux bash shell作为shell。在Emacs(Spacemacs)中运行Windows bash作为shell

我添加(setq explicit-shell-file-name "c:/Windows/System32/bash.exe")我.spacemacs配置文件,但是当我进入:

SPC SPC ansi-term

,并回答是,它返回:

Spawning child process: invalid argument

回答

0

我想在你的.spacemacs文件,你应该确保shell层启用,然后把这个说法在.spacemacs文件: '((shell :variables shell-default-term-shell "c:/Windows/System32/bash.exe")) 之后,你可以通过按键绑定SPC '

调用你的shell
相关问题