Closed cmarqu closed 7 years ago
Oh, I see. albion is just source'ing whatever it finds in the config file and that's it.
I was somehow thrown off by the shell function in the mypath
example and assumed I would also need to have a shell function with the name of my config.
Maybe it would be good to provide a simple example called env-vars
?
A simple example is a great suggestion. I keep getting good ideas from people right when I'm starting a vacation (am I vacationing too much?), but I will add that example when I return home.
Bryan
On Sep 9, 2016 5:12 AM, "Colin Marquardt" notifications@github.com wrote:
Oh, I see. albion is just source'ing whatever it finds in the config file and that's it. I was somehow thrown off by the shell function in the mypath example and assumed I would also need to have a shell function with the name of my config. Maybe it would be good to provide a simple example called env-vars?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/krupan/albion/issues/1#issuecomment-245885376, or mute the thread https://github.com/notifications/unsubscribe-auth/AB4STsWaC1G6Eur4sh21jnrTxTh7IOX-ks5qoT8UgaJpZM4J473H .
I would have made a pull request here, but wasn't sure whether your gateway to hg is bidirectional, so may have been wasted effort...
Don't hesitate to create a pull request. I'm sure I can figure out how to get into my repo.
I added an example in commit cb88287fb659047422597a6562d581ebb0f66b9c
Hi,
it would be nice if there was an example on how to set an environment variable. I figured since you are eval'ing the output, I should write something like
echo export AMSHOME=/tools/cds/incisive_15.20.007_Linux;
(with the semicolon for separating multiple lines), but it doesn't seem to work for me. It may be that this is because my$SHELL
is set to tcsh, and I explicitly startedbash --login
?