mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
4 Commits
d07dd0b672
...
3ff850648f
Author | SHA1 | Date |
---|---|---|
zumbiepig | 3ff850648f | |
dependabot[bot] | 6e9cda3d30 | |
zumbiepig | c86610aa41 | |
zumbiepig | 9592349083 |
|
@ -3,5 +3,5 @@ charset-normalizer==3.4.1
|
|||
idna==3.10
|
||||
PyYAML==6.0.2
|
||||
requests==2.32.3
|
||||
semver==3.0.2
|
||||
semver==3.0.3
|
||||
urllib3==2.3.0
|
||||
|
|
|
@ -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