X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=4f52a35f6ee4e5128862904a52831929c4ee34c1;hb=8bead81e18aba908a20e560233210d39f4f2a1ab;hp=9c7fb60b82b404d20bd538ecb62e1384cdae26aa;hpb=93f0998afe7d4df6b29977e235c23eccddca7caa;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9c7fb60..4f52a35 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -3,7 +3,7 @@ # 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: Mon Jul 23 11:40:12 CEST 2007 [mika] +# Latest change: Mit Aug 08 21:22:03 CEST 2007 [mika] ################################################################################ # source ~/.zshrc.global {{{ @@ -224,18 +224,18 @@ salias check_dpkg_running="dpkg_running" fi -# work around non utf8 capable software in utf environment - if type isutfenv &>/dev/null ; then +# work around non utf8 capable software in utf environment via $LANG and luit + if type isutfenv &>/dev/null && type luit &>/dev/null; then if [ -x $(which mrxvt) ] ; then - isutfenv && [ -n "$LANG" ] && alias mrxvt="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} mrxvt" + isutfenv && [ -n "$LANG" ] && alias mrxvt="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit mrxvt" fi if [ -x $(which aterm) ] ; then - isutfenv && [ -n "$LANG" ] && alias aterm="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} aterm" + isutfenv && [ -n "$LANG" ] && alias aterm="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit aterm" fi if [ -x $(which centericq) ] ; then - isutfenv && [ -n "$LANG" ] && alias centericq="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} centericq" + isutfenv && [ -n "$LANG" ] && alias centericq="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit centericq" fi fi # }}} @@ -270,9 +270,10 @@ #f4# Search German Wikipedia wikide () { ${=BROWSER} http://de.wikipedia.org/wiki/"${(C)*}" } #f4# Search English Wikipedia - wikien() { ${=BROWSER} http://en.wikipedia.org/wiki/"$*" } + wikien() { ${=BROWSER} http://en.wikipedia.org/wiki/"${(C)*}" } #f4# Search official debs - wodeb () { ${=BROWSER} "http://packages.debian.org/cgi-bin/search_contents.pl?word=$1&version=${2:-unstable}" } + wodeb () { ${=BROWSER} "http://packages.debian.org/search?keywords=$1&searchon=contents&suite=${2:=unstable}§ion=all" } + #m# f4 gex() Exact search via Google which google &>/dev/null && gex () { google "\"[ $1]\" $*" } # exact search at google @@ -818,7 +819,7 @@ echo "Downloading debian package of skype." echo "Notice: If you want to use a more recent skype version run 'getskypebeta'." wget http://www.skype.com/go/getskype-linux-deb - $SUDO dpkg -i skype_debian-*.deb && echo "skype installed." + $SUDO dpkg -i skype*.deb && echo "skype installed." } #f5# Install beta-version of skype