-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I'm trying to install and test this plugin on a machine without internet access (yes, they do exist!).
So I cloned the ressurect.wezterm git repo and the dev.wezterm and then updated the ressurect init.lua to use "file://" for the dev.wezterm location too.
But now something in the dev.wezterm plugin isn't able to find the plugin paths:
17:02:09.666 INFO plugin > Cloned file:///u/daire/resurrect-wezterm into "/u/daire/.local/share/wezterm/plugins/filesCssZssZssZsusZsdairesZsresurrect-wezterm"
17:02:09.788 INFO plugin > Cloned file:///u/daire/dev-wezterm into "/u/daire/.local/share/wezterm/plugins/filesCssZssZssZsusZsdairesZsdev-wezterm"
17:02:09.792 ERROR logging > lua: dev.wezterm: Could not find plugin directory
17:02:09.792 ERROR plugin > Failed to require filesCssZssZssZsusZsdairesZsdev-wezterm which is stored in "/u/daire/.local/share/wezterm/plugins/filesCssZssZssZsusZsdairesZsdev-wezterm": runtime error: .../filesCssZssZssZsusZsdairesZsdev-wezterm/plugin/init.lua:127: attempt to concatenate a nil value (local 'path')
stack traceback:
[C]: in metamethod 'concat'
.../filesCssZssZssZsusZsdairesZsdev-wezterm/plugin/init.lua:127: in upvalue '_set_wezterm_require_path'
.../filesCssZssZssZsusZsdairesZsdev-wezterm/plugin/init.lua:204: in local 'init'
.../filesCssZssZssZsusZsdairesZsdev-wezterm/plugin/init.lua:209: in main chunk
[C]: in function 'require'
[C]: in field 'require'
...CssZssZssZsusZsdairesZsresurrect-wezterm/plugin/init.lua:2: in main chunk
[C]: in function 'require'
[C]: in field 'require'
[string "/u/daire/.wezterm.lua"]:8: in main chunk
The .wezterm.lua is just trying to load the plugin:
local resurrect = wezterm.plugin.require("file:///u/daire/resurrect-wezterm")
My lua knowledge is pretty basic so I couldn't debug much further than this.
Cheers.