Leopard quicklook from the commandline 2
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. >:|

Articles via rss or email
I don’t think you’d want to put this in your profile. It looks pretty shell-specific, so it would probably be better off in your .bashrc or .zshrc so it doesn’t run in other shells.
Or just make it a one-liner shell script instead, like some of the other soultions. ;) I don’t run other shells, though, so I should be good, right?