added an alias cp for the fs.copy function

This commit is contained in:
Izaya 2019-12-26 17:23:45 +11:00
parent 054f58609b
commit ba0320fcdc
1 changed files with 1 additions and 0 deletions

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