diff --git a/argentum.cfg b/argentum.cfg index dc8f248..0d651d5 100644 --- a/argentum.cfg +++ b/argentum.cfg @@ -1,7 +1,7 @@ local agcfg = { ["halyde"] = { ["maindir"] = "", - ["version"] = "1.8.0", + ["version"] = "1.8.1", ["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.", ["directories"] = { "halyde/apps", diff --git a/argentum/store/halyde/package.cfg b/argentum/store/halyde/package.cfg index dc51824..840360e 100644 --- a/argentum/store/halyde/package.cfg +++ b/argentum/store/halyde/package.cfg @@ -4,7 +4,7 @@ Ahalyde/core/ Ahalyde/config/generate/ Ahalyde/apps/helpdb/ Ahalyde/apps/ -V1.8.0 +V1.8.1 Ainit.lua Ahalyde/apps/helpdb/cat.txt Ahalyde/apps/helpdb/cd.txt diff --git a/halyde/config/shell.json b/halyde/config/shell.json new file mode 100644 index 0000000..b081fb2 --- /dev/null +++ b/halyde/config/shell.json @@ -0,0 +1 @@ +{"prompt":"\u001b[92m%s > \u001b[0m","aliases":{"move":"mv","copy":"cp","ag":"argentum","rename":"mv","..":"cd ..","man":"help","del":"rm","delete":"rm","ren":"mv","remove":"rm","list":"ls","wget":"download","dir":"ls"},"splashMessages":["Made by John Haly- I mean Cerulean Blue.","Welcome! Type \"help\" to get started.","Also try KOCOS!","Welcome back, Commander. We have no idea what we're doing.","99.9% bug-free. The remaining 0.1% are features.","0 days since last error.","Everything is fine. The fire is decorative.","Please don't feed the background processes.","Also has fetch!","Anything red is no man's land. Trust me.","Machine...","Abort, Retry, Fail?","What's the deal with /argentum/store?","So cutting-edge you can't hold it in your hand.","Americans are the reason you see colors on-screen. I'm talking about ANSI escape codes, not politics.","Shoutout to Ponali!"],"path":["/halyde/apps/"],"startupMessage":"\n │\n │ Halyde 1.8.0\n │ %s\n │\n ","defaultWorkingDirectory":"/home/"} \ No newline at end of file diff --git a/halyde/config/startupapps.json b/halyde/config/startupapps.json new file mode 100644 index 0000000..d5955d9 --- /dev/null +++ b/halyde/config/startupapps.json @@ -0,0 +1 @@ +["/halyde/core/fullkb.lua","/halyde/core/evmgr.lua","/halyde/core/shell.lua"] diff --git a/halyde/core/boot.lua b/halyde/core/boot.lua index c89076c..ed2b350 100644 --- a/halyde/core/boot.lua +++ b/halyde/core/boot.lua @@ -1,7 +1,7 @@ local loadfile = ... local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile) -_G._OSVERSION = "Halyde 1.8.0" +_G._OSVERSION = "Halyde 1.8.1" _G._OSLOGO = "" local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil repeat diff --git a/halyde/core/shell.lua b/halyde/core/shell.lua index aac1b9d..5dbc45d 100644 --- a/halyde/core/shell.lua +++ b/halyde/core/shell.lua @@ -76,7 +76,7 @@ function _G.shell.run(command) runAsCoroutine(path, table.unpack(args)) return else -- try to look for it without the file extension - local files = fs.list(item) + local files = fs.list(item) or {} for _, file in pairs(files) do -- previous pattern: (.+)%.[^%.]+$ if args[1] == file:match("(.+)%.[^%.]+$") and not fs.isDirectory(item .. file) then