zshrc: Remove rundirs
authorFrank Terbeck <ft@bewatermyfriend.org>
Mon, 28 Nov 2011 21:34:40 +0000 (22:34 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:45 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
etc/zsh/zshrc

index 8b46fb2..0cafc3e 100644 (file)
@@ -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