Skip to content

Instantly share code, notes, and snippets.

@f440
Last active October 16, 2015 03:23
Show Gist options
  • Save f440/454f08b5f5f30a2287d8 to your computer and use it in GitHub Desktop.
Save f440/454f08b5f5f30a2287d8 to your computer and use it in GitHub Desktop.
Kill notifyd as workaround for El capitan problem https://github.com/tmux/tmux/issues/108
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>info.apatheia.RestartNotifyd</string>
<key>ProgramArguments</key>
<array>
<string>pkill</string>
<string>notifyd</string>
</array>
<key>StartInterval</key>
<integer>300</integer>
</dict>
</plist>
@f440
Copy link
Author

f440 commented Oct 16, 2015

Installation

curl -L -o info.apatheia.RestartNotifyd.plist http://git.io/vCyCL
sudo install -o root -g wheel -m 644 info.apatheia.RestartNotifyd.plist /Library/LaunchAgents/
sudo launchctl load -w /Library/LaunchAgents/info.apatheia.RestartNotifyd.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment