mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
osx: fix rmdsstore function definition (#7443)
This commit is contained in:
parent
0a59baf4c5
commit
2614b7ecdf
1 changed files with 1 additions and 1 deletions
|
@ -284,6 +284,6 @@ alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true &&
|
||||||
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
||||||
|
|
||||||
# Remove .DS_Store files recursively in a directory, default .
|
# Remove .DS_Store files recursively in a directory, default .
|
||||||
rmdsstore() {
|
function rmdsstore() {
|
||||||
find "${@:-.}" -type f -name .DS_Store -delete
|
find "${@:-.}" -type f -name .DS_Store -delete
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue