On Apr 4, 2009, at 6:38 AM, Bill Paxton wrote:
Hello,
How can I get 10.5.6 to use TextMate as the default application to open text files instead of using TextEdit?
For example, if I do the following, I'd like the new file to open in TextMate:
grep 'test' *.c > newfile open newfile
Currently, this opens in TextEdit (ugh).
For files with an extension, I can get the system to use TextMate for all files with that extension. But I'd like something that works automatically for files without extensions (like "newfile" in the example).
Also while it works to use "get info" to set the "open with" application for an existing file, when I do "Change All..." to use TextMate, I get the following error:
An error occurred while changing the application that open "newfile" because not enough information is available.
I'm using Version 1.5.8 (1498).
Thanks, Bill Paxton
in your bash init file, create create an alias for : open -a TextMate (or use the command open -a TextMate FileName ------ What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren tommy.nordgren@comhem.se