Add a eclim binarie / Start eclipse deamon and vim

This commit is contained in:
Mathieu Maret 2010-04-15 13:56:26 +02:00
parent 5e01fd2736
commit 1e36da76c0
1 changed files with 14 additions and 0 deletions

14
bin/eclim Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
#get eclim PID If exist
pid=`ps -a | grep eclimd | cut -d'p' -f1`
echo $pid
#if not running, run it!
if [ -z $pid ]; then
$ECLIPSE_HOME/eclimd &
sleep 10
fi
vi $@