Skip to content

Hilbish v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Dec 04:19
· 25 commits to master since this release
3128ef7

Added

  • Native Modules
  • Made a few additions to the sink type:
    • read() method for retrieving input (so now the in sink of commanders is useful)
    • flush() and autoFlush() related to flushing outputs
    • pipe property to check if a sink with input is a pipe (like stdin)
  • Add fuzzy search to history search (enable via hilbish.opts.fuzzy = true)
  • Show indexes on cdr list and use ~ for home directory.
  • Fix doc command not displaying correct subdocs when using shorthand api doc access (doc api hilbish.jobs as an example)
  • hilbish.messages interface (details in [#219])
  • hilbish.notification signal when a message/notification is sent
  • notifyJobFinish opt to send a notification when background jobs are
  • hilbish.goVersion for the version of Go used to compile Hilbish.
    completed.
  • Allow numbered arg substitutions in aliases.
    • Example: hilbish.alias('hello', 'echo %1 says hello') allows the user to run hello hilbish
      which will output hilbish says hello.
  • Greenhouse
    • Greenhouse is a pager library and program. Basic usage is greenhouse <file>
    • Using this also brings enhancements to the doc command like easy
      navigation of neighboring doc files.
      Ctrl-N can be used for the table of contents, which views adjacent documentation.

Changed

  • Documentation for EVERYTHING has been improved, with more
    information added, code example, parameter details, etc.
    You can see the improvements!
  • Documentation has gotten an uplift in the doc command.
    This includes:
    • Proper highlighting of code
    • Paging (via Greenhouse)
    • Highlighting more markdown things

Fixed

  • Fix panic when runner doesn't return a table
  • Fix edge case of crash on empty alias resolve
  • File completion on Windows
  • Job management commands work now
  • Fix infinite loop when navigating history without any history. #252
  • Return the prefix when calling hilbish.completions.call. #219
  • Replaced sed in-place editing with grep and mv for compatibility with BSD utils