Browse Source

Added metadata file removal to osx plugin.

master
Sorin Ionescu 14 years ago
parent
commit
eaf74b2534
  1. 9
      plugins/osx/osx.plugin.zsh

9
plugins/osx/osx.plugin.zsh

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

Loading…
Cancel
Save