justinethier/husk-scheme

Cannot find load file if loading from another directory

Opened this issue · 0 comments

If I start huski and load a scheme source file using a relative path, and that file wants to load some file by its own, it will look for it in my current directory. It feels more logical that it look for it in the same directory as the file load is called from, or relative to the very first load file.

Another way would be to have some binding with the path of the original load file that I could tack that on when doing the load. Not sure if that exists?

As it is now, it seems impossible to load a source file from a source file, unless I have everything in my current directory.