I'd disagree. The really nice thing with the bbedit command-line tool is the various options it can take:
bbedit [ -bchlpsuvVw --clean --resume --view-top ] [ -e <encoding_name> ] [ -t <string> ] [ +<n> ] [ file (or) <S/FTP URL> ... ]
you can pass bbedit an ftp/sftp url to open. You can also pipe to it, which can't be done with the alias you mention. Also, there are nifty options like specifying what line number to jump to from the command line (which could be very useful for integrating the editor with a debugger like gdb). You can specify a title for a piped input, print a file from bbedit, and there is the 'wait' option, which causes the bbedit command-line program to wait to exit until the file is closed. This is necessary if you want to define bbedit as your EDITOR environment variable and have it work for pine, crontab, etc.
Some of those features would be very nice to have, and can't be easily accomplished with a shell alias.
On Jan 14, 2005, at 11:17 AM, Sune Foldager wrote:
On 14. jan 2005, at 15:15, Jeroen van der Ham wrote:
For now you can do this by adding the folowing alias to your .bash_profile or whatever shell you use:
tm () { open -a TextMate.app "$*"; }
Yeah.. I don't think a command is really needed, when an alias like this will do just as well.
-- Sune.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate