Hilbish/nature/opts/init.lua

23 lines
493 B
Lua
Raw Permalink Normal View History

hilbish.opts = {}
local function setupOpt(name, default)
hilbish.opts[name] = default
pcall(require, 'nature.opts.' .. name)
end
local defaultOpts = {
autocd = false,
history = true,
greeting = string.format([[Welcome to {magenta}Hilbish{reset}, {cyan}%s{reset}.
The nice lil shell for {blue}Lua{reset} fanatics!
2022-07-09 21:54:21 +00:00
]], hilbish.user),
motd = true,
fuzzy = false,
2023-12-26 04:18:30 +00:00
notifyJobFinish = true,
crimmas = true
}
for optsName, default in pairs(defaultOpts) do
setupOpt(optsName, default)
end