Clickable shell scripts

I am working quite a lot using shell scripts to make my work easier and a few of them are even on my desktop to perform some one click actions. Sadly this doesn’t work on my mac as it just gets opened in an editor, ignoring the executable bit (chmod +x). That drives me crazy.

So what’s the solution to this? Keeping a spare terminal open for quick actions? Nope. It’s much simpler: Just rename the shell script to *.command and OSX will behave just as expected. Why the hell can’t apple just stick to the standards?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.