-pa directory Adds the specified directory to the beginning of the code path. If the directory already exists, it will be removed from its old position and put to the beginning. See also the function Code.prepend_path/1.
Is there an ENV variable corresponding to this?
The XY problem is:
- apparently ~/.iex.exs can not define + load module in same file, so I need *.beam file to be somewhere
- then I need to use
iex -pato ensure that iex can find this beam file
- now, I don’t want to always specify this, so I would prefer to stuff this in a ENV variable somewhere, i.e. the equiv of PATH, LD_LIBRARY_PATH or JAVA_HOME, …
Question: is there a ENV var that corresponds to
iex -pa ?