Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
2614b7ec
Commit
2614b7ec
authored
Nov 28, 2018
by
Igor Kapkov
Committed by
Marc Cornellà
Nov 27, 2018
Browse files
osx: fix rmdsstore function definition (#7443)
parent
0a59baf4
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/osx/osx.plugin.zsh
View file @
2614b7ec
...
@@ -284,6 +284,6 @@ alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true &&
...
@@ -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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment