mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
4 Commits
fe50b3aaaf
...
1c156d253d
Author | SHA1 | Date |
---|---|---|
|
1c156d253d | |
|
7a3695aadf | |
|
c86610aa41 | |
|
9592349083 |
|
@ -5,6 +5,7 @@ files=(
|
|||
/etc/grc.zsh # default
|
||||
/usr/local/etc/grc.zsh # homebrew darwin-x64
|
||||
/opt/homebrew/etc/grc.zsh # homebrew darwin-arm64
|
||||
/home/linuxbrew/.linuxbrew/etc/grc.zsh # linuxbrew
|
||||
/usr/share/grc/grc.zsh # Gentoo Linux (app-misc/grc)
|
||||
)
|
||||
|
||||
|
|
|
@ -17,6 +17,13 @@ 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)
|
||||
if [[ "$(sw_vers --productVersion)" -ge 15.0 ]]; then
|
||||
alias resetlaunchpad='rm -rf /private/$(getconf DARWIN_USER_DIR)/com.apple.dock.launchpad && killall Dock'
|
||||
else
|
||||
alias resetlaunchpad='defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock'
|
||||
fi
|
||||
|
||||
# Bluetooth restart
|
||||
function btrestart() {
|
||||
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
|
||||
|
|
Loading…
Reference in New Issue