Move quick-look() to functions
This commit is contained in:
parent
1e63b682fe
commit
ab47c97443
|
@ -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 &
|
|
||||||
}
|
|
||||||
|
|
|
@ -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 &
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue