2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-05-11 06:43:23 +00:00
Hilbish/nature/opts/motd.lua
2023-04-01 17:56:07 -04:00

18 lines
470 B
Lua

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.
]]
bait.catch('hilbish.init', function()
if hilbish.interactive and hilbish.opts.motd then
if os.date '%d' == '01' and os.date '%m' == '04' then
print('lolololololololol\n')
else
print(lunacolors.format(hilbish.motd))
end
end
end)