Fixed rm-osx-cruft and updated the plugin README.

This commit is contained in:
Sorin Ionescu 2012-01-20 19:52:08 -05:00
commit 60f7ab8f80
2 changed files with 9 additions and 4 deletions

View file

@ -13,6 +13,9 @@ function ql() {
# Delete .DS_Store and __MACOSX directories.
function rm-osx-cruft() {
find "${@:-$PWD}" \( -type f -name '.DS_Store' \) -o \( -type d -name '__MACOSX' \) -print0 | xargs rm -rf
find "${@:-$PWD}" \( \
-type f -name '.DS_Store' -o \
-type d -name '__MACOSX' \
\) -print0 | xargs -0 rm -rf
}