helm/zsh/functions

11 lines
188 B
Plaintext
Raw Normal View History

#!/bin/zsh
2013-03-16 10:32:16 -07:00
function command_exists() {
command -v "$1" &> /dev/null
2013-03-16 10:32:16 -07:00
}
2013-03-16 15:00:51 -07:00
# Open a file in Mac OS's quick-look
function quick-look() {
(( $# > 0 )) && qlmanage -p $* &>/dev/null &
}