Created
October 22, 2010 11:38
-
-
Save smtm/640403 to your computer and use it in GitHub Desktop.
kills PeepOpen and TextMate, restarts Peepopen
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
#!/bin/bash | |
kill -9 `ps ax | grep PeepOpen | grep -v grep | awk '{print $1}'` | |
kill -9 `ps ax | grep TextMate | grep -v grep | awk '{print $1}'` | |
open /Applications/PeepOpen.app | |
echo restarted Peepopen, killed TextMate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment