From df1fe7c7eb73fd444831d9dbacb172e80297f971 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 6 Mar 2020 16:59:02 -0800 Subject: Fix projectile on Windows --- oni-projectile.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'oni-projectile.el') diff --git a/oni-projectile.el b/oni-projectile.el index f7b694b..4f4e6e4 100644 --- a/oni-projectile.el +++ b/oni-projectile.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.0904.210741 +;; Version: 2020.0306.095413 ;; Package-Requires: (projectile ivy oni-data-dir) ;; This program is free software; you can redistribute it and/or modify @@ -50,8 +50,7 @@ (when (eq system-type 'windows-nt) (setq projectile-enable-caching nil) - (setq projectile-generic-command "\"C:\\Program Files\\Git\\usr\\bin\\find.exe\" . -type d \"(\" -path \"*/node_modules\" -o -path \"*/upload-test\" -o -path \"*/dlls\" -o -path \"*/apps/*/img\" -o -path \"*/apps/*/video\" -o -path \"*/apps/*/font\" -o -path \"*/apps/*/content\" -o -path \"*/apps/*/favicons\" -o -path \"*/apps/*/pages.*\" -o -path \"*/.intl\" \")\" -prune -o -type f -print0") - (setq projectile-git-command "\"C:/Program Files/Git/bin/git.exe\" ls-files -zco --exclude-standard") + (setq projectile-generic-command "\"C:\\msys64\\usr\\bin\\find.exe\" . -type d \"(\" -path \"*/node_modules\" -o -path \"*/upload-test\" -o -path \"*/dlls\" -o -path \"*/apps/*/img\" -o -path \"*/apps/*/video\" -o -path \"*/apps/*/font\" -o -path \"*/apps/*/content\" -o -path \"*/apps/*/favicons\" -o -path \"*/apps/*/pages.*\" -o -path \"*/.intl\" \")\" -prune -o -type f -print0") (setq projectile-indexing-method 'alien)) ;;;###autoload(with-eval-after-load 'projectile (require 'oni-projectile)) -- cgit v1.2.3-54-g00ecf