Last active
May 28, 2018 09:32
-
-
Save htaketani/631bf391c1c7776e83fd19b7f9293f21 to your computer and use it in GitHub Desktop.
Mac Setting: Disable opening Mac Mail by Command-Shift-I shortcut key in Chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Mac Setting: Disable opening Mac Mail by Command-Shift-I shortcut key in Chrome | |
| # Mac設定: Chromeで Command-Shift-I ショートカットキー により Macメールが起動しないようにする | |
| # ref: [keyboard \- How to prevent Command\-I/Command\-Shift\-I from opening Mac Mail when in browser? \- Ask Different](https://apple.stackexchange.com/questions/108060/how-to-prevent-command-i-command-shift-i-from-opening-mac-mail-when-in-browser?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa) | |
| # kill Chrome | |
| killall 'Google Chrome' | |
| # set config | |
| defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Email Page Location' '\0' | |
| # clears the preferences cache | |
| killall cfprefsd | |
| # restarts the Finder | |
| killall Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment