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
insensitive-tab^2
TorchedSammy 2022-04-30 21:05:21 -04:00
parent 4178b78341
commit a8406657f9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 0 additions and 12 deletions

View File

@ -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)

View File

@ -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'