1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-07-03 13:30:28 +00:00

Added metadata file removal to osx plugin.

This commit is contained in:
Sorin Ionescu 2011-07-28 18:20:36 -04:00
parent df12f2feef
commit eaf74b2534

View File

@ -1,8 +1,8 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# FILE: osx.plugin.zsh # FILE: osx.plugin.zsh
# DESCRIPTION: oh-my-zsh plugin file. # DESCRIPTION: oh-my-zsh plugin file.
# AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com) # AUTHOR: Sorin Ionescu <sorin.ionescu@gmail.com>
# VERSION: 1.0.1 # VERSION: 1.0.2
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -96,3 +96,8 @@ function trash() {
done done
IFS=$temp_ifs IFS=$temp_ifs
} }
function rm-osx-cruft() {
find ${@:-$PWD} \( -type f -name ".DS_Store" \) -o \( -type d -name '__MACOSX' \) -delete
}