Download Latest Version hilbish-v2.3.4-windows-386.zip (2.5 MB)
Email in envelope

Get an email when there's a new version of Hilbish

Home / v2.3.0
Name Modified Size InfoDownloads / Week
Parent folder
hilbish-v2.3.0-linux-amd64.tar.gz.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-linux-amd64.tar.gz 2024-07-20 3.5 MB
hilbish-v2.3.0-windows-386.zip.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-windows-amd64.zip 2024-07-20 2.5 MB
hilbish-v2.3.0-windows-amd64.zip.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-windows-386.zip 2024-07-20 2.4 MB
hilbish-v2.3.0-darwin-amd64.tar.gz.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-darwin-amd64.tar.gz 2024-07-20 2.7 MB
hilbish-v2.3.0-linux-386.tar.gz.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-linux-arm64.tar.gz 2024-07-20 2.4 MB
hilbish-v2.3.0-linux-arm64.tar.gz.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-darwin-arm64.tar.gz 2024-07-20 2.5 MB
hilbish-v2.3.0-darwin-arm64.tar.gz.md5 2024-07-20 33 Bytes
hilbish-v2.3.0-linux-386.tar.gz 2024-07-20 2.5 MB
Hilbish v2.3.0 source code.tar.gz 2024-07-20 4.0 MB
Hilbish v2.3.0 source code.zip 2024-07-20 4.0 MB
README.md 2024-07-20 1.4 kB
Totals: 17 Items   26.4 MB 0

Added

  • commander.registry function to get all registered commanders.
  • fs.pipe function to get a pair of connected files (a pipe).
  • Added an alternative 2nd parameter to hilbish.run, which is streams. streams is a table of input and output streams to run the command with. It uses these 3 keys:
  • input as standard input for the command
  • out as standard output
  • err as standard error

Here is a minimal example of the new usage which allows users to now pipe commands directly via Lua functions:

:::lua
local fs = require 'fs'
local pr, pw = fs.pipe()
hilbish.run('ls -l', {
    stdout = pw,
    stderr = pw,
})

pw:close()

hilbish.run('wc -l', {
    stdin = pr
})

Changed

  • The -S flag will be set to Hilbish's absolute path
  • Hilbish now builds on any Unix (if any dependencies also work, which should.)

Fixed

  • Fix ansi attributes causing issues with text when cut off in greenhouse
  • Fix greenhouse appearing on terminal resize
  • Fix crashes when history goes out of bounds when using history navigation
  • exec command should return if no arg presented
  • Commanders can now be cancelled by Ctrl-C and wont hang the shell anymore. See issue 198.
  • Shell interpreter can now preserve its environment and set PWD properly.
Source: README.md, updated 2024-07-20