helm/zsh/functions
2013-03-16 18:00:51 -04:00

11 lines
190 B
Bash

#!/bin/bash
function command_exists() {
command -v "$1" &> /dev/null;
}
# Open a file in Mac OS's quick-look
function quick-look() {
(( $# > 0 )) && qlmanage -p $* &>/dev/null &
}