Tuesday, December 21, 2010

Enable copy on select in MAC OSX terminal

1. Install iTerm a nice replacement to the built in Terminall.app which uses X11 server.

2. Open X11 Preferences and make sure all check boxes are selected:

Now:
- whatever you select in iTerm is available on OSX Pasteboard and can be pasted in other applications.
- whatever is in the Pasteboard can be inserted in iTerm with a middle click.

Note: For those wondering how to use the middle click easily with the trackpad I'd suggest installing the MiddleClick app. With it you can paste in the terminal with a single tree-finger tap.