added a mkdir alias for fs.makeDirectory in the shell
This commit is contained in:
parent
150541d91b
commit
e9aac95dd7
@ -4,6 +4,7 @@ function shenv.quit()
|
|||||||
os.setenv("run",nil)
|
os.setenv("run",nil)
|
||||||
end
|
end
|
||||||
shenv.cd = os.chdir
|
shenv.cd = os.chdir
|
||||||
|
shenv.mkdir = fs.makeDirectory
|
||||||
setmetatable(shenv,{__index=function(_,k)
|
setmetatable(shenv,{__index=function(_,k)
|
||||||
if _G[k] then
|
if _G[k] then
|
||||||
return _G[k]
|
return _G[k]
|
||||||
|
Loading…
Reference in New Issue
Block a user