From 1e0d93086b078c8031ee4502bdb525518ff3a3f7 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 19 Nov 2008 12:53:41 +0100 Subject: [PATCH] zshrc: add alias http for running "python -m SimpleHTTPServer" --- debian/changelog | 6 ++++++ etc/skel/.zshrc | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index bd901cc..0fa42c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-etc-core (0.3.60) unstable; urgency=low + + * zshrc: add alias http for running "python -m SimpleHTTPServer" + + -- Michael Prokop Wed, 19 Nov 2008 12:52:40 +0100 + grml-etc-core (0.3.59) unstable; urgency=low [ Frank Terbeck ] diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9be1c85..377b7cf 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -3,7 +3,6 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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' -- 2.1.4