X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=d7b2840e6baef3342e57ff8e68804c5ec8ea35e3;hb=36b19d3d797d334b963eb77e608250e930742e76;hp=9be1c8522f89c11171f9174484fab910b29dc9b6;hpb=0d42aae0da079081cc20228e8751eabb75efe15c;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9be1c85..d7b2840 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' @@ -817,7 +819,7 @@ ogg2mp3_192() { urlencode() { setopt localoptions extendedglob input=( ${(s::)1} ) - print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%$(([##16]#match))} + print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}} } #f5# Install x-lite (VoIP software)