Move quick-look() to functions

This commit is contained in:
Henrik Lissner 2013-03-16 18:00:51 -04:00
parent 1e63b682fe
commit ab47c97443
2 changed files with 5 additions and 4 deletions

View file

@ -42,7 +42,3 @@ alias gbr='git br'
#alias artisan='php artisan' #alias artisan='php artisan'
#alias bob='php artisan bob::build' #alias bob='php artisan bob::build'
# Open a file in Mac OS's quick-look
function quick-look() {
(( $# > 0 )) && qlmanage -p $* &>/dev/null &
}

View file

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