From ba0320fcdc98ec3e51c3529811e190e971ec0a2d Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Thu, 26 Dec 2019 17:23:45 +1100 Subject: [PATCH] added an alias cp for the fs.copy function --- exec/shell.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/shell.lua b/exec/shell.lua index e06ae69..c039315 100644 --- a/exec/shell.lua +++ b/exec/shell.lua @@ -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