husk-scheme icon indicating copy to clipboard operation
husk-scheme copied to clipboard

Cannot find load file if loading from another directory

Open hth313 opened this issue 2 years ago • 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.

hth313 avatar Sep 10 '21 21:09 hth313