Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odd bug where xplr seems to search the directory its executed from for lua modules #483

Closed
erikLundstedt opened this issue Jun 1, 2022 · 3 comments

Comments

@erikLundstedt
Copy link

it happened when i tried to run xplr from ~/.config/awesome and it loaded ~/.config/awesome/layouts.lua* instead of ~/.config/xplr/layouts.lua*
i first solved it by renaming the layouts file to xplr-layouts, but then i notised what directory i was starting in and switched back, went to $HOME and tried again, and then it worked

*
actually .fnl but shouldnt make a difference here

@sayanarijit
Copy link
Owner

I think it's caused by how your specific modules and lua path it configured. But still, could you please provide a minimal reproducible setup?

@erikLundstedt
Copy link
Author

erikLundstedt commented Jun 1, 2022

I think it's caused by how your specific modules and lua path it configured. But still, could you please provide a minimal reproducible setup?

not sure about the reproducible setup thing
im gonna try

@erikLundstedt
Copy link
Author

not sure if its even a bug in xplr as it happens with my own code too
probably a bug in either lua or fennel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants