Entries in the Uncategorized category:
2nd February ‘12
killack
#!/bin/sh
ps ax | ack $1[^/]*$ | ack -v $0 | awk '{print $1}' | xargs kill27th December ‘09
Xcode menu script to "Open in TextMate"
I’ve no idea why it’s taken me so long to sort this one out. Especially when it’s so simple.
#! /bin/sh
#
# Opens the current file in TextMate
mate "%%%{PBXFilePath}%%%"Paste into a new user script (Scripts -> Edit User Scripts…) and set the Input, Directory and Output options to 'No Input', 'Selection', and 'Discard Output' respectively and choose a useful key combination.
•
It’s strange how long we will struggle to work around a sub-optimal workflow, even when a fix might be disproportionately easy.