When doing development work, I am a command line junkie. Under Linux and under Windows, I have scripts set up that allow me to do this:
s <file to edit>
If SlickEdit is not running, a new instance is started and a buffer window is opened with <file to edit>. If SlickEdit is already running, the existing instance is used to open <file to edit>.
Under /Applications/SlickEdit11Trial.app/Contents/slickedit/bin, there is a binary named vs but when I try to run it from a Terminal window, I get this:
SlickEdit: Can't open connection to X. DISPLAY='<Default Display>'
How do I duplicate my s script mentioned above on OS X?