# HG changeset patch # User Jeff Hammel # Date 1386090844 28800 # Node ID 0d5cf87e5b7ec1ffb3677e36d64b6b91bd443447 # Parent d15ee034bdf116900cf54ce4f63f269d0ffb3394 alias -> function diff -r d15ee034bdf1 -r 0d5cf87e5b7e .bashrc --- a/.bashrc Thu Nov 28 01:36:43 2013 -0800 +++ b/.bashrc Tue Dec 03 09:14:04 2013 -0800 @@ -35,7 +35,6 @@ alias awd="python -c 'import os; print os.path.realpath(\".\")'" alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | tail -n 1 | cut -f 3 -d " "`' alias datestamp='date +%Y%m%d%H%M%S' -alias distribute='python setup.py egg_info -RDb "" sdist register upload' alias grep='grep --colour=auto' alias ls='ls --color=auto' alias patch='patch --reject-file=-' @@ -349,6 +348,7 @@ emacs -nw `realwhich $@` } + ### functions for python pyfile() { @@ -370,6 +370,10 @@ done } +distribute() { + python setup.py egg_info -RDb "" sdist register upload develop +} + nearest-venv() { if [[ "$#" == "0" ]] then