Update macos.plugin.zsh

This commit is contained in:
zumbiepig 2025-01-29 13:12:44 -08:00 committed by GitHub
parent f4614da3b6
commit b9085f7dba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function ofd {
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && 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() { function resetlaunchpad() {
if [[ "$(sw_vers --productVersion)" -ge 15.0 ]]; then if [[ "$(sw_vers --productVersion)" -ge 15.0 ]]; then
local user_dir="$(getconf DARWIN_USER_DIR)" local user_dir="$(getconf DARWIN_USER_DIR)"