#!/bin/sh -e
#
# ql - previews files in QuickLook

if [ "$#" -ne 0 ]; then
  qlmanage -p "$@" >/dev/null 2>&1 && qlmanage -r
fi
