problem double-clicking shell scripts

Scott Ribe scott_ribe at killerbytes.com
Tue May 22 17:08:57 PDT 2007


>> Shouldn't it be .command?
> 
> .sh is shorter

Yes, but .command is known to the Finder to mean it's an executable that
should be run when double-clicked.

By default on OS X client, double-clicking a .sh file opens it in TextEdit.
Any other behavior from double-clicking a .sh file means that either the
file has type/creator info, or some other option has been set up in Launch
Services db either via Get Info's "Open with" option, or some installer, or
some application's bundle claiming ownership, etc...


-- 
Scott Ribe
scott_ribe at killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice




More information about the MacOSX-admin mailing list