1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 05:09:25 +00:00

Make osx functions autoloadable

This commit is contained in:
Sorin Ionescu
2014-02-02 20:08:21 -05:00
parent b8bb51d7b5
commit bccfca8c10
4 changed files with 24 additions and 20 deletions

View File

@ -0,0 +1,11 @@
#
# Deletes .DS_Store and __MACOSX directories.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
find "${@:-$PWD}" \( \
-type f -name '.DS_Store' -o \
-type d -name '__MACOSX' \
\) -print0 | xargs -0 rm -rf