From d7e78514de34e28a0307ed0d0daea1144037bfed Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Fri, 25 Feb 2022 19:04:52 -0400 Subject: [PATCH] docs: add changelog for master --- CHANGELOG.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c1d3a6..5e0d77a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,40 @@ # 🎀 Changelog -This is the changelog for the Hilbish shell made in Go and Lua. +## Unreleased +### Added +- `catchOnce()` to bait - catches a hook once +- `hilbish.aliases` interface - allows you to add, delete and list all aliases +with Lua +- `appendPath()` can now take a table of arguments for ease of use +- Signal hooks `sigusr1` and `sigusr2` +- Commands starting with a space won't be added to history + +### Fixed +- Tab completion for executables +- Stop interval (`interval()`) when an error occurs +- Errors in bait hooks no longer cause a panic, and remove the handler for the hook as well +- Formatting of home dir to ~ +- Check if Hilbish is in interactive before trying to use its handlers for signals +- Global `args` table when running as script is no longer userdata +- Home dir is now added to recent dirs (the case of cd with no arg) +- `index` subdoc will no longer appear +- Alias expansion with quotes + +### Changed +- The minimal config is truly minimal now +- (Possibly) **Breaking Change:** Change default SHLVL to 0 instead of 1 +- **Breaking Change:** ~/.hilbishrc.lua will no longer be run by default, it now +only uses the paths mentioned below. +- **Breaking Change:** Changed Hilbish's config path to something more suited +according to the OS (`$XDG_CONFIG_HOME/hilbish/init.lua` on Linux, +`~/Library/Application Support/hilbish/init.lua` on MacOs and +(`%APPDATA%/hilbish/init.lua` on Windows). Previously on Unix-like it was +`$XDG_CONFIG_HOME/hilbish/hilbishrc.lua` +- **Breaking Change:** The history path has been changed to a better suited path. +On Linux, it is `$XDG_DATA_HOME/hilbish/.hilbish-history` and for others it is +the config path. +- **Breaking Change:** `hilbish.xdg` no longer exists, use `hilbish.userDir` instead, +as it functions the same and is OS agnostic ## [0.7.1] - 2021-11-22 ### Fixed