Created
February 1, 2023 05:47
-
-
Save trpfrog/1b7cdc976cf9b7cb3b3a29a9d3a410d8 to your computer and use it in GitHub Desktop.
Mac で句読点とカンマピリオドを切り替えるやつ
This file contains 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
x=$(defaults read com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey) | |
if [[ $x == 0 ]] then | |
defaults write com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey -int 3 | |
echo "カンマ・ピリオド に切り替えました" | |
else | |
defaults write com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey -int 0 | |
echo "句点・読点 に切り替えました" | |
fi | |
killall -HUP JapaneseIM-RomajiTyping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment