Can anyone tell me how to add a directory, say Idl
, which contains many sub-directories to my IDL_PATH
in .bashrc
such that when I do source .bashrc
, I will be able to it is able to run all the executables inside all the different sub-directories?
Is this possible? I am doing
IDL_PATH=.:+/idl/idl70/lib:/home/cs/Idl ....
The Idl
folder has many sub-directories (eg. xidl
, idl_code
, net
etc.). However, I am only able to run files in folder Idl
, not those in sub-directories.
The files which I want to run are IDL procedures with .pro
extensions. If I put my all .pro
files into a single directory, say /home/cs/Idl
, then my whole pro files are being run.
Is there any way?
IDL_PATH
orPATH
?IDL_PATH
is a completely different thing and used by the idl library. Directories in yourPATH
are searched recursively, so subdirectories are added automatically. It looks likeIDL_PATH
doesn't work that way. What are you trying to do? Do you just want to be able to run programs in theIdl
directory? If so, addIdl
toPATH
notIDL_PATH
.