2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-05-10 22:33:22 +00:00
Hilbish/preload.lua
2021-03-21 12:41:23 -04:00

12 lines
253 B
Lua

-- The preload file initializes everything else for our shell
-- Currently it just adds our builtins
local fs = require 'fs'
local commander = require 'commander'
commander.register('cd', function (path)
if #path == 1 then
fs.cd(path[1])
end
end)