George,
Thanks for the help. Using /bin/bash -i -c /opt/local/bin/maxima
didn't work, but /bin/bash -l -c maxima does. According to the man
page for bash, -l is the same as --login and since the path
in .profile is loaded, I can just use the name of the binary instead
of the full path.
Thanks again for your help.
Tony
On Nov 21, 4:52 pm, George Nachman <
gnach...@llamas.org> wrote:
> If you use bash as your shell, I found two options:
>
> 1. /bin/bash -i -c /usr/bin/emacs
> This loads your .bashrc but not your .profile and then runs emacs.
>
> 2. /bin/bash --login -c /usr/bin/emacs
> This loads your .profile but not your .bashrc and then runs emacs.
>
> This is covered (confusingly) in the bash man page under the INVOCATION
> section.
>
> I couldn't find a way to make it work with login, but then I use tcsh for my
> shell because I am an old man. You damn kids get off my lawn!
>
> -G
>
> On Sat, Nov 20, 2010 at 8:22 PM, tonymcdaniel <
tonymcdan...@gmail.com>wrote:> I'm creating bookmarks for particular apps that I use in iTerm2. This