zshrc: Fix passing of args in cdiff().
authorJoerg Woelke <joewoe@fsmail.de>
Fri, 27 Aug 2010 18:06:02 +0000 (20:06 +0200)
committerFrank Terbeck <ft@grml.org>
Fri, 27 Aug 2010 18:29:57 +0000 (20:29 +0200)
Use "$@" instead of "$*".

etc/zsh/zshrc

index ad5357c..c9ccee1 100644 (file)
@@ -3369,7 +3369,7 @@ bk() {
 #f5# Copied diff
 cdiff() {
     emulate -L zsh
-    diff -crd "$*" | egrep -v "^Only in |^Binary files "
+    diff -crd "$@" | egrep -v "^Only in |^Binary files "
 }
 #f5# cd to directoy and list files
 cl() {