- Make the header more robust. If we need to add more argumetns to the scsh
command-line this will let us do that more easily in the future without having
to change the header again.
- Don't ‘display’ the result of the call to ‘run’ because that should always be
‘0’, unless something went wrong. Regardless, it doesn't belong in the output
of this program.
- Use ‘rx’ in Emacs to build the regular expression. This is easier to read,
especially considering how many times a single ‘\’ has to be escaped (once for
the string in scsh, and once more for the string in Emacs).
Other file headers come with caveats:
- ‘#!/usr/bin/scsh -s’ :: Now that scsh is installed through Guix, this is not
where this file lives.
- ‘#!/usr/bin/env -S scsh -s’ :: This doesn't work when we need to specify move
arguments on the command line and need to use the meta-argument.
‘env -S scsh \’ doesn't work.