diff --git a/docs/hilbish.txt b/docs/hilbish.txt index 37cc288..1a0ab65 100644 --- a/docs/hilbish.txt +++ b/docs/hilbish.txt @@ -35,3 +35,5 @@ run(cmd) > Runs `cmd` in Hilbish's sh interpreter. timeout(cb, time) > Runs the `cb` function after `time` in milliseconds +which(binName) > Searches for an executable called `binName` in the directories of $PATH + diff --git a/emmyLuaDocs/hilbish.lua b/emmyLuaDocs/hilbish.lua index e168271..0b2a3ae 100644 --- a/emmyLuaDocs/hilbish.lua +++ b/emmyLuaDocs/hilbish.lua @@ -65,4 +65,7 @@ function hilbish.run(cmd) end --- @param time number function hilbish.timeout(cb, time) end +--- Searches for an executable called `binName` in the directories of $PATH +function hilbish.which() end + return hilbish