How to insert Bash shebang into a script?


#1

Dear all,

I can never remember the right usage of the Bash shebang.

And maybe I am not alone. That’s why I am asking for some tips. :slight_smile:

How can I best insert the Bash shebang into a newly created script using Atom?

Are there some packages that provide me with a menu entry to insert the shebang, for instance?

Yours,

Robert


#2

The language-shellscript package, has snippets for a few different standard shebang lines. You could use those.


#3

Thank you!

This solved my question. :slight_smile:

Yours,

Robert