Skip to content

Instantly share code, notes, and snippets.

@smtm
Created October 22, 2010 11:38
Show Gist options
  • Save smtm/640403 to your computer and use it in GitHub Desktop.
Save smtm/640403 to your computer and use it in GitHub Desktop.
kills PeepOpen and TextMate, restarts Peepopen
#!/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