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:
11
modules/osx/functions/rm-osx-cruft
Normal file
11
modules/osx/functions/rm-osx-cruft
Normal 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
|
Reference in New Issue
Block a user