helm/zsh/functions
2013-03-17 00:16:43 -04:00

11 lines
188 B
Bash

#!/bin/zsh
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 &
}