metatribe / awesomerc

my awesome configuration

This URL has Read+Write access

metatribe (author)
Sun Jun 07 03:51:01 -0700 2009
commit  e599f462771191b7a3bd71883f57be4dddd1be10
tree    39c28a65f2c39f8519ace25bd8f1d9c251edd823
parent  bf970fb4c8921bba06e26969e70e695b9f9bcd5d
awesomerc / run_once
100755 8 lines (5 sloc) 0.102 kb
1
2
3
4
5
6
7
8
#! /bin/bash
 
# Run program unless it's already running.
 
if [ ! "`ps -A | grep $1`" ]; then
  $@;
fi