From 296595fa4bb0186e312595479abf796bb6b8131a Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 19 Sep 2015 11:15:56 +0200 Subject: [PATCH] Alias for pypi uploading/updating of project --- .bash_aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 244d903..244d23e 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -110,6 +110,8 @@ alias checkdns='watch -n1 dig ' #weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-}"|perl -ne '/([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"';} weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-Amsterdam}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"';} +alias pypi_up='python setup.py register sdist --formats=zip upload' + # if you're really annoyed with a runaway process function fuck() { if killall -9 "$2"; then