From: JT (jtibbitt_at_odu.edu)
Date: Mon Aug 24 2009 - 17:27:44 CDT

You could try placing a link in your PATH somewhere, eg:
ln -s /Applications/VMD.app/Contents/MacOS/startup.command $HOME/bin/vmd

Jeff Tibbitt

On Aug 24, 2009, at 10:02 AM, Robert Brunner wrote:

> The OS X "open" command does not pass command-line parameters, so that
> won't work for your purposes.
>
> This works for me:
>
> /Applications/VMD.app/Contents/MacOS/startup.command foo.pdb
>
> but I could not say wether that would be the most robust way to do it.
>
>
> On Aug 24, 2009, at 11:58 AM, Jorgen Simonsen wrote:
>
>> Hi all,
>>
>> I have compiled VMD for mac OS 10.5.8 and I have added the following
>> to my .bashrc
>> alias vmd open -a vmd.app
>>
>> but it does not recognize an input pdb-file
>>
>> vmd xxx.pdb
>>
>> it does just open vmd and does not automatically load the pdb file
>> how to change this?
>>
>> Thanks in advance
>>
>> Jorgen
>