X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=656c62aad7ba97bbf5bdc0172b6d9682d2cd231f;hb=b4da2372b20050e658fea347b9d8ffa1ac4fcf49;hp=d93f43cf576ef96312148040ca6fc2b6fd8a5633;hpb=9f620447815eceef8a316044536d527f2495260e;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index d93f43c..656c62a 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2943,13 +2943,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