Mercurial > index.cgi > dotfiles
changeset 124:3f720fcb9710
'hgs' alias which opens 'hg serve' on the CWD, only Macs right now
author | Steve Huston <huston@astro.princeton.edu> |
---|---|
date | Fri, 09 Jan 2015 12:36:43 -0500 |
parents | ee0a13b7cc61 |
children | 28c2ddd02e8f |
files | .bash_aliases |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.bash_aliases Mon Jan 05 15:50:21 2015 -0500 +++ b/.bash_aliases Fri Jan 09 12:36:43 2015 -0500 @@ -91,6 +91,7 @@ alias atari='atari800 -height 800 -width 600' alias base64='openssl enc -a' alias bsr='bigscreen -raAx' +alias hgs="hg serve -a localhost -p 0 & sleep 1 ; open http://\`lsof -p \$! | grep LISTEN | awk '{print \$9}'\`/ ; fg" alias irssi-test='irssi --home=$HOME/irssi-test/' alias jt65='wine /Users/huston/.wine/drive_c/Program\ Files/jt65hf109/jt65-hf.exe' alias pine='alpine'