2
2
kopia lustrzana https://github.com/Hilbis/Hilbish synced 2025-07-18 16:52:02 +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:
TorchedSammy 2022-04-30 21:05:21 -04:00
rodzic 4178b78341
commit a8406657f9
Podpisane przez: sammyette
ID klucza GPG: 904FC49417B44DCD
2 zmienionych plików z 0 dodań i 12 usunięć

Wyświetl plik

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

Wyświetl plik

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