diff --git a/lib/misc.zsh b/lib/misc.zsh index 722412a82..607ee8649 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -26,6 +26,9 @@ function pj() { ## Open current directory alias oo='open .' +## Quick-look a file (^C to close) +alias ql='qlmanage -p 2>/dev/null' + ## Start a local SMTP server and dump emails sent to it to the console alias smtpconsole='python -m smtpd -n -c DebuggingServer localhost:1025' @@ -33,4 +36,4 @@ alias smtpconsole='python -m smtpd -n -c DebuggingServer localhost:1025' alias serve_this='python -m SimpleHTTPServer' ## Highlight-aware less command -alias hl='less -R' \ No newline at end of file +alias hl='less -R'