mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
fix: remove nature hook handles
since it was only for command exec errors, and theyre handled runner side now, we dont have to handle it via hooks anymore
This commit is contained in:
parent
4178b78341
commit
a8406657f9
@ -1,11 +0,0 @@
|
|||||||
local bait = require 'bait'
|
|
||||||
|
|
||||||
-- Hook handles
|
|
||||||
bait.catch('command.not-found', function(cmd)
|
|
||||||
print(string.format('hilbish: %s not found', cmd))
|
|
||||||
end)
|
|
||||||
|
|
||||||
bait.catch('command.not-executable', function(cmd)
|
|
||||||
print(string.format('hilbish: %s: not executable', cmd))
|
|
||||||
end)
|
|
||||||
|
|
@ -4,7 +4,6 @@ local _ = require 'succulent' -- Function additions
|
|||||||
package.path = package.path .. ';' .. hilbish.dataDir .. '/?/init.lua'
|
package.path = package.path .. ';' .. hilbish.dataDir .. '/?/init.lua'
|
||||||
.. ';' .. hilbish.dataDir .. '/?/?.lua'
|
.. ';' .. hilbish.dataDir .. '/?/?.lua'
|
||||||
|
|
||||||
require 'nature.hooks'
|
|
||||||
require 'nature.commands'
|
require 'nature.commands'
|
||||||
require 'nature.completions'
|
require 'nature.completions'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user