Hilbish/nature/opts/motd.lua

14 lines
368 B
Lua
Raw Normal View History

2022-07-09 21:54:21 +00:00
local bait = require 'bait'
local lunacolors = require 'lunacolors'
hilbish.motd = [[
1000 commits on the Hilbish repository brings us to {cyan}Version 2.1!{reset}
Docs, docs, docs... At least builtins work with pipes now.
2022-07-09 21:54:21 +00:00
]]
bait.catch('hilbish.init', function()
2022-08-17 22:05:20 +00:00
if hilbish.interactive and hilbish.opts.motd then
2022-07-09 21:54:21 +00:00
print(lunacolors.format(hilbish.motd))
end
end)