1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-25 20:48:43 -05:00

added an alias cp for the fs.copy function

This commit is contained in:
XeonSquared 2019-12-26 17:23:45 +11:00
parent 054f58609b
commit ba0320fcdc

View File

@ -7,6 +7,7 @@ function shenv.quit()
end
shenv.cd = os.chdir
shenv.mkdir = fs.makeDirectory
shenv.cp = fs.copy
local function findPath(name)
path = os.getenv("PATH") or "/boot/exec"
for l in path:gmatch("[^\n]+") do