On 2017-02-14 at 06:22 AST, Richard Kettlewell wrote:
> Martin Gregorie writes:
>> On Tue, 14 Feb 2017 08:40:25 +0000, Theo wrote:
>>> Point of order: it's generally not a good idea to have '.' on your path,
>>> because then you risk your system tools being clobbered by ones in the
>>> current directory.
>> Agreed - if its at the front of the $PATH list. OTOH I see nothing wrong
>> with *appending* :~/bin:. to $PATH. Been doing it for years with no bad
>> effects.
> The risk here is from typos.
You would have to do a typo which happens to turn into a program which
can cause you some harm, which strikes me as very unlikely.
I've had '.' at the end of my PATH for dozens of years and that hasn't
happened to me yet. But I have save lots of time over the years by
not typing "./". YMMV.
Cheers.
Jim
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|