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_PATHorPATH?IDL_PATHis a completely different thing and used by the idl library. Directories in yourPATHare searched recursively, so subdirectories are added automatically. It looks likeIDL_PATHdoesn't work that way. What are you trying to do? Do you just want to be able to run programs in theIdldirectory? If so, addIdltoPATHnotIDL_PATH.