Windows使用ag搜索出错,提示需要执行程序:
这是什么问题引起的?Windows shell 中可以正常使用ag命令了。 Google没有类似的问题出现。
没有遇到过此问题,试试eshell能否执行ag.
如果不行试试 exec-path-from-shell 同步设置一下执行路径与emacs的PATH
(exec-path-from-shell-copy-env "PATH")
前提是需要安装一下 exec-path-from-shell 这个包
我刚找了下,这是exec-path-from-shell在windows上存在的bug。 issue
那就尝试手动设置PATH和exec-path加入ag的搜索路径。(或许msys有一个统一的bin路径?)
漂亮 可以了 谢谢 老感谢了:kissing_heart: