hauntsaninja / pyp

Easily run Python at the shell! Magical, but never mysterious.
MIT License
1.41k stars 39 forks source link

Add shebang line so pyp.py alone can be executed as "pyp" without ins… #2

Closed stuartlangridge closed 4 years ago

stuartlangridge commented 4 years ago

…tallation

pyp.py rather usefully works alone and doesn't need installing. However, if it's just named pyp and run on a Linux system, it will be executed as a shell script because it doesn't have a shebang line. This PR adds that shebang so that pyp.py alone will work; it shouldn't make any difference to systems that don't detect the interpreter for a file, and will make things work on systems that do.

hauntsaninja commented 4 years ago

Thank you!