diff --git a/versions/new-website/blog/improving-this-website/index.html b/versions/new-website/blog/improving-this-website/index.html index 000a5cf1..966b22be 100644 --- a/versions/new-website/blog/improving-this-website/index.html +++ b/versions/new-website/blog/improving-this-website/index.html @@ -1,5 +1,5 @@ -Hilbish
Improving Hilbish's Branding

Improving Hilbish's Branding

Happy birthday Hilbish! As of last month, Hilbish is now 2 years old. +Hilbish

Improving Hilbish's Branding

Improving Hilbish's Branding

Happy birthday Hilbish! As of last month, Hilbish is now 2 years old. Unfortunately I missed the official date, but I will still make a more focused post on the date (19st).

I decided to fix up this website and Hilbish's logo, so that can be thought of as something for the 2 years milestone?

Logo @@ -32,10 +32,10 @@ was not hidden by default. So a few improvements were made: If you haven't noticed, I have made other changes to the website. This includes: - Borders! Something this simple makes the website look a lot better, especially on mobile. -- More padding and margin everywhere. Home, doc pages, blog post listing.

\ No newline at end of file diff --git a/versions/new-website/blog/v2.0-release/index.html b/versions/new-website/blog/v2.0-release/index.html index 355a13f6..795d8a91 100644 --- a/versions/new-website/blog/v2.0-release/index.html +++ b/versions/new-website/blog/v2.0-release/index.html @@ -1,5 +1,5 @@ -Hilbish
Hilbish v2.0 Release

Hilbish v2.0 Release

Hilbish v2.0 has been released! +Hilbish

Hilbish v2.0 Release

Hilbish v2.0 Release

Hilbish v2.0 has been released! Well actually, it was released a week ago, but I only wrote this Hilbish blog after that.

This is a *big* release, coming 9 months after the previous v1.2.0 and featuring over 40+ bug fixes and tons of new features and enhancements, so @@ -59,10 +59,10 @@ still hasn't reached levels of other alt shells in regards to literally everything, but the goal is to get there!

If you want to check the FULL changelog, you can do so here. This v2.0 release marks an advancement in Hilbish (and also how long one of my projects hasn't died) and I hope it can advance even further.

Thanks for reading, and I'll be back for the v2.1 release notes, or maybe -something else in between.

\ No newline at end of file diff --git a/versions/new-website/blog/v2.1-release/index.html b/versions/new-website/blog/v2.1-release/index.html index bbaa024a..638b904a 100644 --- a/versions/new-website/blog/v2.1-release/index.html +++ b/versions/new-website/blog/v2.1-release/index.html @@ -1,5 +1,5 @@ -Hilbish
v2.1 Release

v2.1 Release

> The release with full changelogs and prebuilt binaries can be +Hilbish

v2.1 Release

v2.1 Release

> The release with full changelogs and prebuilt binaries can be seen at the v2.1.0 tag.

Oh look! A new release of Hilbish! This time is the v2.1 release, with a small amount of features and mainly documentation changes and @@ -33,10 +33,10 @@ yet.

hilbish.completion.files and hilbish.completion.bins will no longer cause a panic with all empty arguments passed.

Next Release Stay tuned for the v2.2 release, which will have a bigger set of features -and maybe some more bug fixes!

\ No newline at end of file diff --git a/versions/new-website/blog/v2.1.1-release/index.html b/versions/new-website/blog/v2.1.1-release/index.html index 6a3cc4fc..72553afb 100644 --- a/versions/new-website/blog/v2.1.1-release/index.html +++ b/versions/new-website/blog/v2.1.1-release/index.html @@ -1,5 +1,5 @@ -Hilbish
v2.1.1 Release

v2.1.1 Release

> The release with full changelogs and prebuilt binaries can be +Hilbish

v2.1.1 Release

v2.1.1 Release

> The release with full changelogs and prebuilt binaries can be seen at the v2.1.1 tag.

Welcome to a fresh new release of Hilbish! Some people (or none) may be awaiting the long coming v2.2 release with lots of features, but I needed to push @@ -15,10 +15,10 @@ which results in less time wasted running invalid and TERRIBLE Lua code.

Fix your mistakes for the future If you run a command that does not exist, Hilbish will say goodbye.

Closing Hope you enjoy this new release! It took a lot of effort to create this new version -while I was busy doing completely nothing. :)))

\ No newline at end of file diff --git a/versions/new-website/blog/v2.1.2-release/index.html b/versions/new-website/blog/v2.1.2-release/index.html index 9690a8a1..2dbdaf38 100644 --- a/versions/new-website/blog/v2.1.2-release/index.html +++ b/versions/new-website/blog/v2.1.2-release/index.html @@ -1,12 +1,12 @@ -Hilbish
v2.1.2 Release

v2.1.2 Release

> The release with full changelogs and prebuilt binaries can be +Hilbish

v2.1.2 Release

v2.1.2 Release

> The release with full changelogs and prebuilt binaries can be seen at the v2.1.2 tag.

This release reverts the April Fool's code additions in v2.1.1. It is functionally equal to v2.1.0. Nice!

A real release will come possibly in a few days or next week, so stay tuned for -the good and feature-filled release of v2.2!

\ No newline at end of file diff --git a/versions/new-website/blog/v2.2-release/index.html b/versions/new-website/blog/v2.2-release/index.html index 7bfe98f9..c72b5e57 100644 --- a/versions/new-website/blog/v2.2-release/index.html +++ b/versions/new-website/blog/v2.2-release/index.html @@ -1,5 +1,5 @@ -Hilbish
v2.2 Release

v2.2 Release

> The release with full changelogs and prebuilt binaries can be +Hilbish

v2.2 Release

v2.2 Release

> The release with full changelogs and prebuilt binaries can be seen at the v2.2.0 tag.

Welcome to a very long awaited release of Hilbish, and on Christmas. Just think of it as a long preparing, late Christmas gift. :) @@ -43,10 +43,10 @@ well now too due to an oversight when changing up the job functions.

\ No newline at end of file diff --git a/versions/new-website/blog/v2.3-release/index.html b/versions/new-website/blog/v2.3-release/index.html index 965a78ae..8c81eb21 100644 --- a/versions/new-website/blog/v2.3-release/index.html +++ b/versions/new-website/blog/v2.3-release/index.html @@ -1,5 +1,5 @@ -Hilbish
v2.3 Release

v2.3 Release

> The release with full changelogs and prebuilt binaries can be +Hilbish

v2.3 Release

v2.3 Release

> The release with full changelogs and prebuilt binaries can be seen at the v2.3.0 tag.

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. @@ -24,10 +24,10 @@ they can now be exited. - The shell script interpreter now keeps its environment, and this also fixes the current working directory being wrong with some commands. - Some greenhouse bugs have been fixed, like randomly appearing when resizing the terminal -and some text attributes like color appearing where they weren't supposed to.

\ No newline at end of file diff --git a/versions/new-website/blog/welcome/index.html b/versions/new-website/blog/welcome/index.html index 9e48c01b..9383ff77 100644 --- a/versions/new-website/blog/welcome/index.html +++ b/versions/new-website/blog/welcome/index.html @@ -1,9 +1,9 @@ -Hilbish
Welcome to the Hilbish blog

Welcome to the Hilbish blog

Hello! Welcome to the Hilbish blog. This will mainly contain release -announcements and some other things relating to Hilbish (development).

\ No newline at end of file diff --git a/versions/new-website/docs/api/bait/index.html b/versions/new-website/docs/api/bait/index.html index b8faab05..cf5750f7 100644 --- a/versions/new-website/docs/api/bait/index.html +++ b/versions/new-website/docs/api/bait/index.html @@ -1,12 +1,12 @@ -Hilbish
Module bait

Module bait

the event emitter

Introduction

Bait is the event emitter for Hilbish. Much like Node.js and +Hilbish

Module bait

Module bait

the event emitter

Introduction

Bait is the event emitter for Hilbish. Much like Node.js and its events system, many actions in Hilbish emit events. Unlike Node.js, Hilbish events are global. So make sure to -pick a unique name!
\

Usage of the Bait module consists of userstanding +pick a unique name!

Usage of the Bait module consists of userstanding event-driven architecture, but it's pretty simple: If you want to act on a certain event, you can catch it. -You can act on events via callback functions.
\

Examples of this are in the Hilbish default config! -Consider this part of it:
\

bait.catch('command.exit', function(code)
+You can act on events via callback functions.

Examples of this are in the Hilbish default config! +Consider this part of it:

bait.catch('command.exit', function(code)
 	running = false
 	doPrompt(code ~= 0)
 	doNotifyPrompt()
@@ -104,7 +104,7 @@ The arguments to pass to the hook.

HilbishThe Moon-powered shell!MIT License, copyright sammyette 2025

HilbishThe Moon-powered shell!MIT License, copyright sammyette 2025
\ No newline at end of file diff --git a/versions/new-website/docs/api/commander/index.html b/versions/new-website/docs/api/commander/index.html index 6676ce4e..02efa3ea 100644 --- a/versions/new-website/docs/api/commander/index.html +++ b/versions/new-website/docs/api/commander/index.html @@ -1,18 +1,21 @@ -Hilbish
Module commander

Module commander

library for custom commands

Introduction

Commander is the library which handles Hilbish commands. This makes +Hilbish

Module commander

Module commander

library for custom commands

Introduction

Commander is the library which handles Hilbish commands. This makes the user able to add Lua-written commands to their shell without making a separate script in a bin folder. Instead, you may simply use the Commander -library in your Hilbish config.

lua -local commander = require 'commander'

commander.register('hello', function(args, sinks) +library in your Hilbish config.

local commander = require 'commander'
+
+commander.register('hello', function(args, sinks)
 	sinks.out:writeln 'Hello world!'
 end)
-

In this example, a command with the name of hello is created +

In this example, a command with the name of hello is created that will print Hello world! to output. One question you may have is: What is the sinks parameter?

The sinks parameter is a table with 3 keys: input, out, and err. There is an in alias to input, but it requires using the string accessor syntax (sinks['in']) as in is also a Lua keyword, so input is preferred for use. All of them are a @Sink. -In the future, sinks.in will be removed.
\

  • in is the standard input. You may use the read functions on this sink to get input from the user.

  • out is standard output. This is usually where command output should go.

  • err is standard error. This sink is for writing errors, as the name would suggest.

Functions

+In the future, sinks.in will be removed.

- in is the standard input. You may use the read functions on this sink to get input from the user. +- out is standard output. This is usually where command output should go. +- err is standard error. This sink is for writing errors, as the name would suggest.

Functions

@@ -66,7 +69,7 @@ commander.registry() -> table

Returns all registered commanders. Returns a list of tables with the following keys: -- exec: The function used to run the commander. Commanders require args and sinks to be passed.

Parameters

This function has no parameters.

@@ -182,7 +182,7 @@ Would print the following: size = 12288 } ]]-- -
@@ -69,47 +68,6 @@ interfaces and functions which directly relate to shell functionality.

-

Static module fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
verThe version of Hilbish
goVersionThe version of Go that Hilbish was compiled with
userUsername of the user
hostHostname of the machine
dataDirDirectory for Hilbish data files, including the docs and default modules
interactiveIs Hilbish in an interactive shell?
loginIs Hilbish the login shell?
vimModeCurrent Vim input mode of Hilbish (will be nil if not in Vim input mode)
exitCodeExit code of the last executed command

Functions


@@ -344,7 +302,7 @@ hilbish.which(name) -> string

Checks if name is a valid command. Will return the path of the binary, or a basename if it's a commander.

Parameters

string name

Types


Sink

A sink is a structure that has input and/or output to/from a desination.

Methods

autoFlush(auto)

Sets/toggles the option of automatically flushing output. -A call with no argument will toggle the value.

flush()

Flush writes all buffered input to the sink.

read() -> string

Reads a liine of input from the sink.

readAll() -> string

Reads all input from the sink.

write(str)

Writes data to a sink.

writeln(str)

Writes data to a sink with a newline at the end.

\ No newline at end of file diff --git a/versions/new-website/docs/api/index.html b/versions/new-website/docs/api/index.html index f16bd841..66a3bea2 100644 --- a/versions/new-website/docs/api/index.html +++ b/versions/new-website/docs/api/index.html @@ -1,6 +1,6 @@ -Hilbish
API

API

Welcome to the API documentation for Hilbish. This documents Lua functions -provided by Hilbish.