Mac OSX command line integration
Submitted by Sunday, 25 April, 2004 - 04:38
on
How to launch jEdit from the OSX command line? Is there a better way than executing /Applications/JEdit\ 4.2pre11/JEdit.app/Contents/MacOS/JavaApplicationStub ? I have the following function in my .bash_profile, but it doesn't pick up the path to any file I pass to it, e.g. if I type 'jedit .bash_profile' from my home directory, jEdit will try to create a new file in /Applications/JEdit 4.2pre11/. There must be a way to get this to work? I searched here and via google and was unable to find anything on the subject. Thanks for any help, and apologies for my poor bash skillz.
Here's the bash function:
jedit () { /Applications/JEdit\ 4.2pre11/JEdit.app/Contents/MacOS/JavaApplicationStub -background "$@" ; }
Using OSX 10.3.3, jEdit 4.2pre11.
Here's the bash function:
jedit () { /Applications/JEdit\ 4.2pre11/JEdit.app/Contents/MacOS/JavaApplicationStub -background "$@" ; }
Using OSX 10.3.3, jEdit 4.2pre11.