mirror of https://github.com/Hilbis/Hilbish
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 anymoreinsensitive-tab^2
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'
|
||||
.. ';' .. hilbish.dataDir .. '/?/?.lua'
|
||||
|
||||
require 'nature.hooks'
|
||||
require 'nature.commands'
|
||||
require 'nature.completions'
|
||||
|
||||
|
|
Loading…
Reference in New Issue