在windows系统中使用everthing搜索服务,根据counsel-locate-cmd中需要添加了es.exe 到 path变量。
;;** `counsel-locate'
(defcustom counsel-locate-cmd (cond ((memq system-type '(darwin berkeley-unix))
'counsel-locate-cmd-noregex)
((and (eq system-type 'windows-nt)
(executable-find "es.exe"))
'counsel-locate-cmd-es)
(t
'counsel-locate-cmd-default))
cmd中可以正确使用。但是在spacemacs中使用 counsel-locate运行错误
Error in post-command-hook (ivy--queue-exhibit): (user-error "Required program \"locate\" not found in your path")
从字面意思理解难道需要在windows中安装locate软件,可那是unix 下面的命令。 请问这个怎么解决,感谢您的帮助。
没有任何的个人配置。