Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
506 stars 22 forks source link

fix: lunacolors not found in nix-shell #57

Closed devins2518 closed 3 years ago

devins2518 commented 3 years ago
/home/devin/.hilbishrc.lua:2: module lunacolors not found:
        no field package.preload['lunacolors']
        stat ./lunacolors.lua: no such file or directory
        stat /usr/local/share/lua/5.1/lunacolors.lua: no such file or directory
        stat /usr/local/share/lua/5.1/lunacolors/init.lua: no such file or directory
        stat ./libs/lunacolors/init.lua: no such file or directory
        stat ./lunacolors/init.lua: no such file or directory
        stat ./lunacolors/lunacolors.lua: no such file or directory
        stat /usr/share/hilbish/libs/lunacolors/init.lua: no such file or directory
        stat : no such file or directory
        stat /usr/share/hilbish/libs/lunacolors/lunacolors.lua: no such file or directory
        stat /home/devin/.local/share/hilbish/libs/lunacolors/init.lua: no such file or directory
        stat /home/devin/.local/share/hilbish/libs/lunacolors/lunacolors.lua: no such file or directory
        stat /home/devin/.local/share/hilbish/libs/lunacolors.lua: no such file or directory,
stack traceback:
        [G]: in function 'require'
        /home/devin/.hilbishrc.lua:2: in main chunk
        [G]: ?
An error has occured while loading your config! Falling back to minimal default config.
devins2518 commented 3 years ago

its probably a pretty easy fix, im just too lazy to do that right now

ghost commented 3 years ago

image I had a similar error while trying to use Hilbish, I am not using Nix though.

devins2518 commented 3 years ago

Did you recursively clone

ghost commented 3 years ago

Did you recursively clone

Ah, I did not, my bad.

TorchedSammy commented 3 years ago

nix being nix?

devins2518 commented 3 years ago

https://github.com/Rosettea/Lunacolors/pull/2 should fix

TorchedSammy commented 3 years ago

lmao merged it, check if it works

devins2518 commented 3 years ago

Yeah it does I checked before pr