News for hackers. Stuff that matters.
Re:New Features in the Fish Shell by azernik on Tuesday September 29, 2020 @05:44PM (#24633388)
One way I force people (mostly myself) to include shebang lines:

Have a scripts directory in my repo that mixes shell and python scripts with no file extensions and executable bits set. If I don't put a shebang, it just doesn't run.

Of course, this requires you to have firm control of code style policies.

Re:New Features in the Fish Shell by kstrauser on Tuesday September 29, 2020 @07:25PM (#24634239)
Make a post-commit hook that adds "#!/usr/bin/yes No." at the top of every file missing a shebang.
Re:New Features in the Fish Shell by azernik on Tuesday September 29, 2020 @09:53PM (#24635036)
Heh.