added a mkdir alias for fs.makeDirectory in the shell

This commit is contained in:
Izaya 2019-11-09 13:17:21 +11:00
parent 150541d91b
commit e9aac95dd7
1 changed files with 1 additions and 0 deletions

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]