mateコマンド

Posted by yatsu Tue, 04 Oct 2005 02:24:00 GMT

コマンドラインからTextMateを開くコマンドが tm から mate に変更された。 tm だと間違えて rm とタイプしてファイルを消してしまうことがあるからだそうだ。

TextMateの最新版はrevision 488(TextMate changelog参照)だが、TextMate_r488.tbzには mate が付属せず、元の tm コマンドも動作しなくなっているので、 TextMate_r484.zipをダウンロードしてその中から mate コマンドをもってくる必要がある。

また、バージョンを上げたときにmateで

mate: couldn't launch TextMate (you may need to reset your LS database).

というエラーが出る場合、以下を実行する。

% /System/Library/Frameworks/ApplicationServices.framework/Frameworks/
  LaunchServices.framework/Support/lsregister -kill -r
  /System/Library/CoreServices /Applications /Developer/Applications

(上記、実際は一行)

Comments

Trackbacks

Use the following link to trackback from your own site:
http://yatsu_info/articles/trackback/20676

(leave url/email »)

   Comment Markup Help Preview comment