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 *