Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
コマンド実行前,実行後に画面の色を反転させるzsh用の設定
preexec () {
osascript -e 'tell application "System Events" to key code 28 using {command down, option down, control down}'
}
precmd () {
osascript -e 'tell application "System Events" to key code 28 using {command down, option down, control down}'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment