Hilbish v2.3 has now been released! This is small feature and bug fix release which took a while to cme ut since I took a long break from programming in general. The next release will be great, so stay tuned for that.
Features Pipes (via Lua) Commands can now be piped to each other via the Lua API with the hilbish." property="og:description"><metacontent="Thereleasewithfullchangelogsandprebuiltbinariescanbeseenatthev2.3.0tag.
Hilbish v2.3 has now been released! This is small feature and bug fix release which took a while to cme ut since I took a long break from programming in general. The next release will be great, so stay tuned for that.
Features Pipes (via Lua) Commands can now be piped to each other via the Lua API with the hilbish." name=description><metaname=revisit-aftercontent="2 days"><metaname=keywordscontent="Lua,Hilbish,Linux,Shell"><metaproperty="og:locale"content="en_GB"><linkrel=canonicalhref=https://rosettea.github.io/Hilbish/><metaproperty="og:url"content="https://rosettea.github.io/Hilbish/"><linkhref=https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.cssrel=stylesheetintegrity=sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVorcrossorigin=anonymous><scriptsrc=https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.jsintegrity=sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2crossorigin=anonymous></script>
<emclass=text-muted>by <strong>sammyette</strong><time> // July 20, 2024</time></em><divclass=my-4><blockquote><p>The release with full changelogs and prebuilt binaries can be
seen at the <ahref=https://github.com/Rosettea/Hilbish/releases/tag/v2.3.0target=_blankrel=noopener>v2.3.0</a>
tag.</p></blockquote><p>Hilbish v2.3 has now been released! This is small feature and bug fix release
which took a while to cme ut since I took a long break from programming in general.
The next release will be great, so stay tuned for that.</p><h2id=featuresclass=heading>Features
<ahref=#pipes-via-luaclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><p>Commands can now be piped to each other via the Lua API with the <code>hilbish.run</code>
function and an <code>fs.pipe</code>.</p><p>Here is a minimal example of the new usage which allows users to now pipe commands
directly via Lua functions:</p><divclass=highlight><pretabindex=0class=chroma><codeclass=language-luadata-lang=lua><spanclass=line><spanclass=ln> 1</span><spanclass=cl><spanclass=kd>local</span><spanclass=n>fs</span><spanclass=o>=</span><spanclass=n>require</span><spanclass=s1>'fs'</span>
</span></span></code></pre></div><p>This also means it’s easier to make commands output to any stream output,
including in commanders.</p><h2id=bug-fixesclass=heading>Bug Fixes
<ahref=#bug-fixesclass=heading-link><iclass="fas fa-paperclip"></i></a></h2><ul><li>Commanders can now be cancelled with Ctrl-C, which means if they froze for some reason
they can now be exited.</li><li>The shell script interpreter now keeps its environment, and this also fixes the
current working directory being wrong with some commands.</li><li>Some greenhouse bugs have been fixed, like randomly appearing when resizing the terminal