Skip to content

            Subscribe (RSS | E-Mail)

Mac OS X: Fixing ‘Always Open With’

After installing the TextMate editor I wanted all shell scripts (files ending with the .sh extension) to open in TextMate. Unfortunately, selecting Open With -> Other… from the context menu, choosing an application, and then clicking the Always Open With checkbox doesn’t change the default application for all files with that extension, but rather only changes that specific file.

If you want to change the default application used to open all files with a specific extension, the steps are slightly different:

Select the file and choose File -> Get Info (or Cmd+i) and expand the Open With section:

Get Info

From here, select the application you want to use for opening those file types and then click Change All. This will update the OS X Launch Services Database, which is consulted when opening files. Now all files with that extension will be opened with the application you selected.


Posted in OS X.

Tagged with , , .


3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Raam Dev linked to this post on December 13, 2009

    I finally figured out the correct way to set all files to 'Always Open With' a specific app on Mac OS X: http://tr.im/HuGM

  2. Raam Dev linked to this post on December 13, 2009

    If you haven't seen my latest post on choosing happiness & growth over death & stagnation, I'd love to hear your opinion! http://tr.im/HuGM

  3. Sid Savara linked to this post on December 24, 2009

    Choosing happiness & growth over death & stagnation http://tr.im/HuGM via @raamdev



Some HTML is OK

or, reply to this post via trackback.