No longer only “technically” correct. Good practice these days is to create your executable scripts with no extension and use the shebang to interpret how to run it. You only really need file suffix/extension for functions sourced into the script according to Google coding standards.
Been using the best parts for 3 years now and really think it makes things more logical
View all comments
Show parent comment
3
u/Parker_Hemphill Mar 15 '23
No longer only “technically” correct. Good practice these days is to create your executable scripts with no extension and use the shebang to interpret how to run it. You only really need file suffix/extension for functions sourced into the script according to Google coding standards.
Been using the best parts for 3 years now and really think it makes things more logical