X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=0cafc3eab5f69f70abbe7342331355fb40761ed8;hb=cc1840a8fd17bb909345c234abb8769f52dfcbd2;hp=8b46fb24a4d1dbffe9398ddeb90e1aa63e74a3f9;hpb=713060b11b1edfd75fe7d975c3d17f8a02ee4767;p=grml-etc-core.git 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