title: How to run a shell script in OS X by double-clicking?
body: <p>I have a shell script that has user execution permission on OS X, but when I double click on it, it opens in a text editor. How can I get it to run by double-clicking it?</p>