On 8/10/07, Johannes Schindelin [off-list ref] wrote:
On Fri, 10 Aug 2007, Steffen Prohaska wrote:
quoted
I recognized that '.' is included in the PATH in /etc/profile.
I don't think this is a good idea. At least it bit me once when
I expected to run /bin/git but instead /git/./git was chosen.
Shouldn't we remove '.' from the PATH?
In my experience, Windows users (not Mac users forced to use Windows)
_expect_ "." to be in the PATH.
...because they _cannot_ know otherwise. In Windows, you cannot remove "."
from PATH, it is implicitly in it.
It is actually worse than that: the system directories are in PATH
too. Unconditionally.
Yes, the same system directories all them programs put their .exes into.