Add alias pyhttp (from Seth House configuration)
authorMikael Berthe <mikael@lilotux.net>
Sun, 15 Jul 2012 12:13:57 +0200
changeset 12 a906009be2b1
parent 11 ee97df34536f
child 13 e1da4a7a9e92
Add alias pyhttp (from Seth House configuration) https://github.com/whiteinge/dotfiles/blob/master/.zshrc
zshrc.d/30-aliases.zrc
--- a/zshrc.d/30-aliases.zrc	Sun Jul 15 10:40:16 2012 +0200
+++ b/zshrc.d/30-aliases.zrc	Sun Jul 15 12:13:57 2012 +0200
@@ -65,3 +65,7 @@
 alias medium='echo -e "\033]50;7x13\007"'
 alias large='echo -e "\033]50;9x15\007"'
 alias huge='echo -e "\033]50;10x20\007"'
+
+# Start a webserver in the current directory
+# Borrowed from Seth House repository
+alias pyhttp='python -m SimpleHTTPServer'