
Note that calling the script directly from the command line as you did has some merit, many (but not all.) syntax errors are caught at this point, and you don't have to wait for Gimp to start to find these out.

Mind the single and double quotes, some for Python, some for your shell interpreter.

WHERE THE SCRIPT FILE FOR GIMP ON MAC MAC OS
which is available on most linux distros (and Mac OS X) as part of a gimp-dev.
WHERE THE SCRIPT FILE FOR GIMP ON MAC DOWNLOAD
If anyone running Gimp on Mac could try the script out I would be very happy. 1) Download file and unzip if it is zipped so that you get file with. I dont know if it works on Mac, I dont have one. Just open it up with a text-editor and change the path where Ive noted. Since you are on OSX, I recommend that you keep the Python file in a directory that you can access easily (and that you backup) and add a soft link to it in your Gimp profile. With Windows you may have to change the path to your Gimp-installation in the script if Gimp doesnt start when you run the script. Note that the best place to keep it in the plug-ins directory in your Gimp profile, and not the Gimp installation directories. This identifies it to Gimp and it can be called from the Gimp UI. The script is a regular plugin, it should contains at least a call to register(.) and a call to main(). Replace the App Name with the exact name of the app, as it shows when you hover over its icon in the dock.

Run the following command: osascript -e id of app 'App Name'. Extending GIMP with new plug-ins, scripts, brushes, and more. The following instructions provide the details on locating the bundle ID of an app on Terminal. Gimpfu is only available when the script is launched from Gimp. The history brush in Photoshop and photoshop cs6 mac is used to paint over a.
