zshrc: add alias http for running "python -m SimpleHTTPServer" v0.3.60
authorMichael Prokop <mika@grml.org>
Wed, 19 Nov 2008 11:53:41 +0000 (12:53 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 19 Nov 2008 11:53:41 +0000 (12:53 +0100)
debian/changelog
etc/skel/.zshrc

index bd901cc..0fa42c8 100644 (file)
@@ -1,3 +1,9 @@
+grml-etc-core (0.3.60) unstable; urgency=low
+
+  * zshrc: add alias http for running "python -m SimpleHTTPServer"
+
+ -- Michael Prokop <mika@grml.org>  Wed, 19 Nov 2008 12:52:40 +0100
+
 grml-etc-core (0.3.59) unstable; urgency=low
 
   [ Frank Terbeck ]
index 9be1c85..377b7cf 100644 (file)
@@ -3,7 +3,6 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mit Aug 06 23:31:19 CEST 2008 [mika]
 ################################################################################
 
 # source ~/.zshrc.global {{{
@@ -220,6 +219,9 @@ alias fblinks='links2 -driver fb'
 alias insecssh='ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
 alias insecscp='scp -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"'
 
+# simple webserver
+check_com -c python && alias http="python -m SimpleHTTPServer"
+
 # Use 'g' instead of 'git':
 check_com g || alias g='git'