X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=28b878b2cd0e33e33773f2cf2a4be385eb6b8be9;hb=8f8d8ea4d993964d26eb60f7978e1d6d72d7b28f;hp=0c40461f08f4e2d0aecfbf94d3163e0daf113d93;hpb=aaebb85b04148aafcad855c310254b0568ddad72;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 0c40461..28b878b 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: Sam Feb 24 19:21:35 CET 2007 [mika] +# Latest change: Son Mär 11 12:44:51 CET 2007 [mika] ################################################################################ # source ~/.zshrc.global {{{ @@ -203,6 +203,7 @@ fir() { firefox -a firefox -remote "openURL($1)" } ggogle() { ${=BROWSER} "http://groups.google.com/groups?q=$*" } google() { ${=BROWSER} "http://www.google.com/search?&num=100&q=$*" } + mcd() { mkdir -p "$@"; cd "$@" } # mkdir && cd mdiff() { diff -udrP "$1" "$2" > diff.`date "+%Y-%m-%d"`."$1" } memusage(){ ps aux | awk '{if (NR > 1) print $5; if (NR > 2) print "+"} END { print "p" }' | dc } mggogle() { ${=BROWSER} "http://groups.google.com/groups?selm=$*" } @@ -404,12 +405,6 @@ print -z "${cmd[$answer]#*$TAB}" } -# mkdir && cd - mcd() { mkdir -p "$@"; cd "$@" } # mkdir && cd - -# cd && ls - cl() { cd $1 && ls -a } - # Use vim to convert plaintext to HTML 2html() { vim -u NONE -n -c ':syntax on' -c ':so $VIMRUNTIME/syntax/2html.vim' -c ':wqa' $1 &>/dev/null }