gpt4 book ai didi

emacs - Windows 上 emacs 中 msysgit bash 的配置

转载 作者:行者123 更新时间:2023-12-04 21:25:06 26 4
gpt4 key购买 nike

您在 .emacs 文件中添加了什么以在 emacs 中使用 msysgit bash ?
我刚刚修改了 msysgit 的 cygwin 指令,将 cygwin 替换为 msysgit 在这些 .
我唯一不能做的就是在 bash 中运行 ssh 或 vim ......
目录完成与开头的 Windows 样式驱动器名称一起使用。

最佳答案

将此添加到您的“_emacs.el” - 它对我有用:

;; When running in Windows, we want to use an alternate shell so we
;; can be more unixy.
(setq shell-file-name "C:/Program Files/msysgit/bin/bash")
(setq explicit-shell-file-name shell-file-name)

关于emacs - Windows 上 emacs 中 msysgit bash 的配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4733071/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com