Whenever I set up a new machine, one of the first scripts I put on the machine is for automating the creation of other scripts.

For BASH shells, I use edsh, as follows: