2021-01-09 04:43:21 +01:00

16 lines
218 B
Plaintext

-- alias for edit
local function printUsage()
print("Usage:")
print("vim <filename>")
end
local args = { ... }
if #args < 1 then
printUsage()
return
end
local file = args[1]
shell.run("edit", file)