mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-13 18:00:41 +00:00
7 lines
184 B
Lua
7 lines
184 B
Lua
local bait = require 'bait'
|
|
|
|
bait.catch('command.exit', function(_, cmd, priv)
|
|
if not cmd then return end
|
|
if not priv and hilbish.opts.history then hilbish.history.add(cmd) end
|
|
end)
|