forked from izaya/OC-PsychOS2
added an alias cp for the fs.copy function
This commit is contained in:
parent
054f58609b
commit
ba0320fcdc
@ -7,6 +7,7 @@ function shenv.quit()
|
|||||||
end
|
end
|
||||||
shenv.cd = os.chdir
|
shenv.cd = os.chdir
|
||||||
shenv.mkdir = fs.makeDirectory
|
shenv.mkdir = fs.makeDirectory
|
||||||
|
shenv.cp = fs.copy
|
||||||
local function findPath(name)
|
local function findPath(name)
|
||||||
path = os.getenv("PATH") or "/boot/exec"
|
path = os.getenv("PATH") or "/boot/exec"
|
||||||
for l in path:gmatch("[^\n]+") do
|
for l in path:gmatch("[^\n]+") do
|
||||||
|
Loading…
Reference in New Issue
Block a user