OS X Snow Leopard で TextMate2 に を認識させるためにいくつかの解決策を試しましたが、コマンドを呼び出すmate filename
ための「mate」がないようです:mate
$cd /Applications/TextMate.app/Contents/SharedSupport/
$ ls -al
total 0
drwxr-xr-x 3 admin staff 102 9 Jul 2012 .
drwxr-xr-x 9 admin staff 306 9 Jul 2012 ..
drwxr-xr-x 3 admin staff 102 9 Jul 2012 Bundles
$ which mate
/Users/admin/bin/mate
しかし、'Contents/Resources/mate' が存在しないため、mate スクリプト (~/bin/mate) は失敗します。
#!/bin/sh
exec "${TM_MATE:-$("$TM_SUPPORT_PATH/bin/find_app" com.macromates.TextMate.preview)/Contents/Resources/mate}" "$@"
...だからmate myfile
与えます:
/Users/admin/bin/mate: line 2: /bin/find_app: No such file or directory
/Users/admin/bin/mate: line 2: /Contents/Resources/mate: No such file or directory
/Users/admin/bin/mate: line 2: exec: /Contents/Resources/mate: cannot execute: No such file or directory
約 2 時間経っても解決策が見つからないので、誰かが同じ問題に遭遇した場合は、助けていただければ幸いです。