diff --git a/startup.lua b/startup.lua index d4befac..3a50bb2 100644 --- a/startup.lua +++ b/startup.lua @@ -1,6 +1,7 @@ print("--- HCF ---") print() + -- Colored print for code readability local function printcolor(text, clr) local old = term.getTextColor() @@ -9,6 +10,14 @@ local function printcolor(text, clr) term.setTextColor(old) end +printcolor("Adding /bin to PATH...", colors.gray) +do + local old = shell.path() + local new = old .. ":/bin" + shell.setPath(new) +end + +printcolor("Checking boot folder...", colors.gray) -- Boot folder check if fs.exists("/boot") then for _, name in pairs(fs.list("/boot")) do