我试过,但出现错误:工艺外壳,代码255异常退出 主要是想为这个SSH,避免Cygwin的或砰砰/腻子。是不是可以使用Windows Bash作为shell在Emacs中用于ssh等?
我有这样的配置:
(setq explicit-shell-file-name "C:\\Windows\\System32\\bash.exe")
(setq explicit-bash.exe-args '("--noediting" "--login" "-i"))
(setenv "SHELL" shell-file-name)
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
谢谢
请在Ubuntu的头脑击在Windows [是** **测试技术(https://msdn.microsoft.com/en-us/commandline/wsl/about)。根据[这篇博文](https://blogs.msdn.microsoft.com/wsl/2016/10/19/windows-and-ubuntu-interoperability/)Windows和Linux软件之间的I/O重定向将“很快“,这是大约四个月前,所以也许它已经在Windows内部人员版本中可用。 –