projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713060b
)
zshrc: Remove rundirs
author
Frank Terbeck
<ft@bewatermyfriend.org>
Mon, 28 Nov 2011 21:34:40 +0000
(22:34 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
8b46fb2
..
0cafc3e
100644
(file)
--- 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