This commit is contained in:
kepler155c@gmail.com
2019-04-25 01:44:35 -04:00
parent fff680d202
commit 54bba18522
2 changed files with 19 additions and 6 deletions

View File

@@ -1,6 +1,10 @@
_ENV.shell.setCompletionFunction("packages/common/edit.lua",
function(shell, nIndex, sText)
if nIndex == 1 then
return _G.fs.complete(sText, shell.dir(), true, false)
end
end)
local c = function(shell, nIndex, sText)
if nIndex == 1 then
return _G.fs.complete(sText, shell.dir(), true, false)
end
end
_ENV.shell.setCompletionFunction("packages/common/edit.lua", c)
_ENV.shell.setCompletionFunction("packages/common/hexedit.lua", c)
fs.mount('packages/common/hexedit.lua', 'urlfs', 'https://pastebin.com/raw/Ds9ajsp4')