Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path ordering issue - wrong find.exe executes by default #37

Closed
mwagstaff opened this issue Nov 27, 2013 · 1 comment
Closed

Path ordering issue - wrong find.exe executes by default #37

mwagstaff opened this issue Nov 27, 2013 · 1 comment

Comments

@mwagstaff
Copy link

When I try running find, the find.exe from Windows\System32 is executed by default as the msysgit directories are only appended to the end of the path.

In other words, the "C:\Windows\System32" directory appears first in the path, whereas C:\cmder\vendor\msysgit\bin" appears later, towards the end. This means that when I try running the "find" command, I get the old (useless) Windows one, rather than the Unix version I was hoping for.

There are plenty of possible workarounds. In my case, I simply copied the Unix find.exe up to \cmder\vendor\conemu-maximus5\ConEmu, as the ConEmu directories are added to the beginning of the path.

Is there any way that you could add a config option so that the msysgit directory references can be added to the beginning of the path, rather than at the end?

samvasko added a commit that referenced this issue Jan 31, 2014
Now the msysgit is being loaded first, so find will invoke
the correct and better version
samvasko added a commit that referenced this issue Apr 11, 2014
Now the msysgit is being loaded first, so find will invoke
the correct and better version
@BobVul
Copy link

BobVul commented Sep 1, 2017

This was reverted by #994 and 2ccc06e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants