changeset 561:0d5cf87e5b7e

alias -> function
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 03 Dec 2013 09:14:04 -0800
parents d15ee034bdf1
children 8d28fce0a6d6
files .bashrc
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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