浏览代码

osx: fix rmdsstore function definition (#7443)

Igor Kapkov 5 年之前
父节点
当前提交
2614b7ecdf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/osx/osx.plugin.zsh

+ 1 - 1
plugins/osx/osx.plugin.zsh

@@ -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"
 
 # Remove .DS_Store files recursively in a directory, default .
-rmdsstore() {
+function rmdsstore() {
 	find "${@:-.}" -type f -name .DS_Store -delete
 }