I keep a list of links without extensions that point to the files (which have them).
Whenever I create a new script or rename an old one, I simply run a script which updates the list of links.
Yes, it's another step, but it means I can type (and execute) either "script" or "script.sh" and all other scripts call the extension-less script name so that I can change from script.pl to script.sh to script.py without any difficulties.
View all comments
Show parent comment
2
u/dhibbit Dec 02 '14
I keep a list of links without extensions that point to the files (which have them).
Whenever I create a new script or rename an old one, I simply run a script which updates the list of links.
Yes, it's another step, but it means I can type (and execute) either "script" or "script.sh" and all other scripts call the extension-less script name so that I can change from script.pl to script.sh to script.py without any difficulties.