mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Adding alias to restart bluetooth daemon
This commit is contained in:
parent
d848c94804
commit
4e2cb5049d
2 changed files with 3 additions and 0 deletions
|
|
@ -31,3 +31,4 @@ Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||||
| `hidefiles` | Hide the hidden files |
|
| `hidefiles` | Hide the hidden files |
|
||||||
| `itunes` | Control iTunes. User `itunes -h` for usage details |
|
| `itunes` | Control iTunes. User `itunes -h` for usage details |
|
||||||
| `spotify` | Control Spotify and search by artist, album, track and etc.|
|
| `spotify` | Control Spotify and search by artist, album, track and etc.|
|
||||||
|
| `bt_restart` | Restart the bluetooth daemon. |
|
||||||
|
|
|
||||||
|
|
@ -543,6 +543,8 @@ function spotify() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Bluetooth restart
|
||||||
|
alias bt_restart="sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport && sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport"
|
||||||
|
|
||||||
# Show/hide hidden files in the Finder
|
# Show/hide hidden files in the Finder
|
||||||
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue