export PATH=$PATH:.
It took me 30 years to make this crucial improvement in Linux. In MSDOS current directory was in the $PATH by default.
Correction: Maybe it should be "export PATH=.:$PATH"? Local definitions override default ones.
Correction: Maybe it should be "export PATH=.:$PATH"? Local definitions override default ones.
4 comments
[ 1.8 ms ] story [ 23.4 ms ] threadDIR.BAT does not override DIR.
Conclusion: ".:$PATH" does not adhere to MSDOS tradition.. But I can take the risk.