- Subject: [Jed-users-l] Compile and run
- From: Gabriel Hurley <gabriel.hurley@xxxxxxxxx>
- Date: Mon, 23 Aug 2010 13:37:24 -0500
In Gedit there is a handy script that will compile and execute the
code that you happen to have open at the time. The script looks like
this:
#!/bin/bash
gcc $GEDIT_CURRENT_DOCUMENT_NAME -o ${GEDIT_CURRENT_DOCUMENT_NAME%.*}
DESU=`echo ${GEDIT_CURRENT_DOCUMENT_NAME}|cut -d "." -f 1`
xterm -hold -e ./$DESU --working-directory=$GEDIT_CURRENT_DOCUMENT_DIR
Is there something similar that I can use for Jed? Currently what I do
is open the Shell Command dialogue and type something like...
gcc filename.c -o filename && ./filename
...but that gets annoying after a while. Is there any way to do this
automatically?
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2010 date index]
[2010 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]