mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-17 17:03:49 +08:00
Update macos.plugin.zsh
This commit is contained in:
parent
f4614da3b6
commit
b9085f7dba
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user