Wednesday, February 4, 2015

xed

Seán Labastille reminds us about the xed tool:

The xed tool launches the Xcode application and opens the given documents, or opens a new untitled document, optionally with the contents of standard in.

1 Comment RSS · Twitter

I use `xed` constantly, since I still use Xcode as my editor but rarely for Cocoa stuff anymore. So I am often in the shell testing scripts/servers and it's quite convenient.

I've found a few shortcomings though, with files that don't exist and when opening symlinks. These I've remedied via a shell alias (and can still get the original if ever necessary via `x\ed`): https://gist.github.com/natevw/0324311ae115ca8d1a9e

Leave a Comment