On 12. 11. 2015 18:14, Daniel Goldman wrote:
> A few weeks ago, I asked a similar question on the Discussion, and never 
> got a clear answer. I didn't like the huge number of Windows paths in 
> the msys2 PATH. So I did an experiment. I added a line at the top of 
> /etc/profile to clear PATH before it gets built, so none of the Windows 
> paths included:
> 
> PATH=
> 
> I've been using this since with no apparent problems (at least no 
> problems due to missing Windows paths).
> 
> If one accepts the wiki at face value, I assume there must be some bad 
> effect of omitting all Windows paths, though never spelled out, so it 
> seems a better approach might be to say at top of /etc/profile:
> 
> PATH=C:\\Windows\\system32
> 
> To help me and others better understand this issue, can anyone explain 
> what kinds of things fail if windows paths are not in msys2 PATH?

I couldn't find anything (nor I remember hearing) about Cygwin or MSYS being 
affectd by removing Windows system directories from PATH. Native Windows (or 
mingw) stuff is another topic though, but I still can't point you to anything 
specific.

I remember one related problem: 
<https://github.com/elieux/MSYS2-packages/commit/9200524dc8aaf29e1a52b87f86a27f1b31186824>
 

-- 
David Macek

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to