Skip to content

Instantly share code, notes, and snippets.

@hitode909
Created August 10, 2010 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitode909/517218 to your computer and use it in GitHub Desktop.
Save hitode909/517218 to your computer and use it in GitHub Desktop.
コマンド実行前,実行後に画面の色を反転させる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