On Jan 14, 2005, at 8: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.
We need a command that will block waiting for the editor window to be closed. For BBEdit, that's the critical function that the 'bbedit' command line tool provides. I would assume that the 'see' tool can do it as well.
The reason is that many command-line tools invoke an external $EDITOR. CVS, Subversion, and especially Perforce's bloody 'forms' are good examples of this.
Chris