Leopard quicklook from the commandline 2

Posted by Tim Connor Thu, 29 Nov 2007 00:58:00 GMT

I’ve come across a number of these, but here is my favorite (put this in your .profile):

function ql()
{
qlmanage -p "$@" >& /dev/null
}
I don’t like how people are backgrounding it or trying to get fancy, primarily, because any of the scripts claiming to make the spacebar-kills-QL functionality work, didn’t. This way CTRL-C does what it should, instead. It also maintains the qlmanage functionality of slideshowing multiple params.

Be careful when you paste it to convert curly quotes back to straight quotes. >:|