Browse Source

added a mkdir alias for fs.makeDirectory in the shell

pull/1/head
XeonSquared 4 years ago
parent
commit
e9aac95dd7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      exec/shell.lua

+ 1
- 0
exec/shell.lua View File

@@ -4,6 +4,7 @@ function shenv.quit()
os.setenv("run",nil)
end
shenv.cd = os.chdir
shenv.mkdir = fs.makeDirectory
setmetatable(shenv,{__index=function(_,k)
if _G[k] then
return _G[k]


Loading…
Cancel
Save