From: Frank Terbeck Date: Mon, 28 Nov 2011 21:34:40 +0000 (+0100) Subject: zshrc: Remove rundirs X-Git-Tag: v0.5.0~62 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=cc1840a8fd17bb909345c234abb8769f52dfcbd2 zshrc: Remove rundirs Signed-off-by: Frank Terbeck --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 8b46fb2..0cafc3e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2944,13 +2944,6 @@ if is439 && [[ -d /dev/disk/by-id/ ]]; then } fi -#f5# run command or function in a list of directories -rundirs() { - local d CMD STARTDIR=$PWD - CMD=$1; shift - ( for d ($@) {cd -q $d && { print cd $d; ${(z)CMD} ; cd -q $STARTDIR }} ) -} - # Translate DE<=>EN # 'translate' looks up fot a word in a file with language-to-language # translations (field separator should be " : "). A typical wordlist looks