TerminalColours SIMBL plugin under Lion

本文提供了解决在Lion系统升级后,Terminal Colours SIMBL插件无法加载的问题的方法。只需通过增加plist文件中最大版本号至297即可解决问题。
If, after upgrading to Lion, the TerminalColours SIMBL plugin doesn’t load anymore (you get an error informing you that SIMBL didn’t load the plugin due to it not having been tested with Terminal 2.2 (v297)), here’s a quick tip to get it working again.

The TerminalColours 1.0 plugin actually works just fine under Lion. The error message is merely stating that the Lion’s version of Terminal.app is greater than the maximum version number the plugin was designed to work with. This maximum version number is 280 and Terminal.app in Lion is 297. So, as a precaution, SIMBL doesn’t load the plugin.

All you need to do to get TerminalColours working again, is increase the maximum version number to 297 in its .plist file. Here’s how, step by step:

1,Quit Terminal.app.
2,Open a Finder window and navigate to ~/Library/Application Support/SIMBL/Plugins (if you don’t see your user’s Library folder in Finder, open a Terminal window, paste this code and press Enter: chflags nohidden ~/Library ).
3,Make a backup of the file TerminalColours.bundle by selecting it and then selecting File->Duplicate from the menu (just in case things go wrong).
4,Right-click the file TerminalColours.bundle and select Show Package Contents.
5,Click on Contents and double-click the file Info.plist. You can edit this file with any plain-text editor, such as TextEdit, or you can use the plist editor included in Xcode (which you can get for free on the Mac App Store).
6,In your text editor, find the text string <key>MaxBundleVersion</key>.
7,Immediately below that line is a line similar to <string>280</string> (the actual number may differ).
8,Change whatever number is there to 297.
Save the file (make sure to save it as plain text!).
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值