1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Alias for pypi uploading/updating of project

This commit is contained in:
2015-09-19 11:15:56 +02:00
parent de32d5996a
commit 296595fa4b

View File

@@ -110,6 +110,8 @@ alias checkdns='watch -n1 dig '
#weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-<YOURZIPORLOCATION>}"|perl -ne '/<title>([^<]+)/&&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