Releases: Rosettea/Hilbish
Releases · Rosettea/Hilbish
Hilbish v0.3.0
Hilbish v0.3!!! 35 commits from 0.2!! A pretty big release.
fs.cd
now throws an exception instead of silently failing, which you should handle withpcall
- Enhancements to the
cd
command:- With no arguments will move to
$HOME
- Now throws a
cd
hook, with a single hook arg being the arguments to the command - Now works for directories with spaces
- With no arguments will move to
- Lua input now throws a success hook if it succeeded
- Command history is now saved to
~/.hilbish-history
- Globals defined in Lua that are strings will be defined as an env variable (#16)
- BREAKING Change: Removed Bait hooks
command.success
andcommand.fail
, there is now the single hookcommand.exit
, with a single argument passed which the exit code of the command. Use this to determine if a command has failed or not (failure is code != 0) - BREAKING Change: The Ansikit function
text
has been renamed toformat
. - Input ending with
\
will now go to a newline - Bugfixes and code changes:
- Input is now trimmed
- Internals are slightly cleaned up and codebase split up
- Added a
multiprompt
function to change the prompt of the multiline/continuation/newline prompt exit
command is now written in Lua- Hilbish will now fall back to a builtin minimal config if the user's config has syntax errors on loading
- Commands defined in Lua now report the error to the user cleanly instead of panicking if it has occured
_ver
variable to get Hilbish's version from Lua
Hilbish v0.2.0
Hilbish v0.2!!!
- Hooks (events) are the new and main thing in v0.2, you can now listen for hooks or cast out (emit) custom ones, via the bait package
- Prompt has been changed to have printf-like verbs to format. This makes it easier on the user's side to configure, and doesn't require hooks to change it for things like current directory.
^^
to refer to the previous command.
It's for the lazy hands like me, so I can do something likeENV=VAR ^^
- Way more (more like any) comments in the core code.
- Default prompt's changed and the triangle changes color based on if command failed or not.
Hilbish v0.1.2
- Add Lua input to history
Hilbish v0.1.1
Hilbish v0.1.0
In the works for about 2 days for pretty basic things because I was hopping between readline libraries eventually going full circle to the original readline lib that was being used.
- Tab complete files
- Makefile installation
- sh support
Hilbish v0.0.12
First fully working release of Hilbish.