2614b7ecdfe8b8f0cbeafffefb5925196f4011d4
- Author
- Igor Kapkov <igasgeek@me.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
osx: fix rmdsstore function definition (#7443)
Diff
1diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
2index 6a4b6eec4597c9f81bc9c08dc28ad6997afe54e4..a1c73a1847e529315de9e684ea219a5b2064b310 100644
3--- a/plugins/osx/osx.plugin.zsh
4+++ b/plugins/osx/osx.plugin.zsh
5@@ -284,6 +284,6 @@ alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true &&
6 alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
7
8 # Remove .DS_Store files recursively in a directory, default .
9-rmdsstore() {
10+function rmdsstore() {
11 find "${@:-.}" -type f -name .DS_Store -delete
12 }