Add an alias for quick looking.

This commit is contained in:
Steve Losh 2010-07-14 10:04:44 -04:00
commit e13b2dc811

View file

@ -26,6 +26,9 @@ function pj() {
## Open current directory ## Open current directory
alias oo='open .' 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 ## Start a local SMTP server and dump emails sent to it to the console
alias smtpconsole='python -m smtpd -n -c DebuggingServer localhost:1025' 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' alias serve_this='python -m SimpleHTTPServer'
## Highlight-aware less command ## Highlight-aware less command
alias hl='less -R' alias hl='less -R'