diff --git a/zsh/aliases b/zsh/aliases index 98f0575d..2ea68cba 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -42,7 +42,3 @@ alias gbr='git br' #alias artisan='php artisan' #alias bob='php artisan bob::build' -# Open a file in Mac OS's quick-look -function quick-look() { - (( $# > 0 )) && qlmanage -p $* &>/dev/null & -} diff --git a/zsh/functions b/zsh/functions index c5ff970e..5d11d722 100644 --- a/zsh/functions +++ b/zsh/functions @@ -3,3 +3,8 @@ 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 & +}