Re: loading startup file [message #37612] |
Wed, 07 January 2004 09:39 |
Pepijn Kenter
Messages: 31 Registered: April 2002
|
Member |
|
|
> Hi, I have a startup batch file (containing my own paths and default setting).
> How can I load it when IDL begins? In bash, I added
> IDL_STARTUP=/home/sk/wv/common/startup.pro
> to .bash_profile. It should work, but it does not. Does anyone know
> a solution? I am using a commandline version.
>
> Thanks,
This way IDL_STARTUP will be a local variable in your .bash_profile. To
export this variable to the environment you'll have to use:
declare -x IDL_STARTUP=/home/pepijn/gokey/gokey_startup.pro
or
export IDL_STARTUP=/home/pepijn/gokey/gokey_startup.pro
To check if your environment variables have been set correctly, type
'set' at the command prompt.
HTH, Pepijn Kenter.
|
|
|