1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-12 20:31:00 +01:00

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

View File

@@ -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)"