helm/zsh/functions

11 lines
190 B
Plaintext
Raw Normal View History

2013-03-16 10:32:16 -07:00
#!/bin/bash
function command_exists() {
command -v "$1" &> /dev/null;
}
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 &
}