diff --git a/plugins/macos/macos.plugin.zsh b/plugins/macos/macos.plugin.zsh index ac826e02f..a400c16aa 100644 --- a/plugins/macos/macos.plugin.zsh +++ b/plugins/macos/macos.plugin.zsh @@ -17,7 +17,7 @@ function ofd { alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder" -# Reset Launchpad layout (defaults method does not work in MacOS Sequoia and onward) +# Reset the Launchpad layout function resetlaunchpad() { if [[ "$(sw_vers --productVersion)" -ge 15.0 ]]; then local user_dir="$(getconf DARWIN_USER_DIR)"