mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "b0e4cf6ed1c82ef61e2c133265a32834d6b2e6ff" and "e7ac7ce843f0c6cdd10f8e95479720f72d5c3f0c" have entirely different histories.
b0e4cf6ed1
...
e7ac7ce843
24
CHANGELOG.md
24
CHANGELOG.md
|
@ -2,26 +2,16 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
### Added
|
### Added
|
||||||
- MacOS is now officialy supported, default compile time vars have been added
|
|
||||||
for it
|
|
||||||
- Windows is properly supported as well
|
|
||||||
- `catchOnce()` to bait - catches a hook once
|
- `catchOnce()` to bait - catches a hook once
|
||||||
- `hilbish.aliases` interface - allows you to add, delete and list all aliases
|
- `hilbish.aliases` interface - allows you to add, delete and list all aliases
|
||||||
with Lua
|
with Lua
|
||||||
- `hilbish.appendPath()` can now take a table of arguments for ease of use
|
- `appendPath()` can now take a table of arguments for ease of use
|
||||||
- `hilbish.which(binName)` acts as the which builtin for other shells,
|
- Signal hooks `sigusr1` and `sigusr2`
|
||||||
it finds the path to `binName` in $PATH
|
|
||||||
- Signal hooks `sigusr1` and `sigusr2` (unavailable on Windows)
|
|
||||||
- Commands starting with a space won't be added to history
|
- Commands starting with a space won't be added to history
|
||||||
- Vim input mode
|
|
||||||
- Hilbish's input mode for text can now be changed to either Emacs
|
|
||||||
(like it always was) or Vim via `hilbish.inputMode()`
|
|
||||||
- Changing Vim mode throws a `hilbish.vimMode` hook
|
|
||||||
- The current Vim mode is also accessible with the `hilbish.vimMode` property
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Tab completion for executables
|
- Tab completion for executables
|
||||||
- Stop interval (`hilbish.interval()`) when an error occurs
|
- 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
|
- Errors in bait hooks no longer cause a panic, and remove the handler for the hook as well
|
||||||
- Formatting of home dir to ~
|
- Formatting of home dir to ~
|
||||||
- Check if Hilbish is in interactive before trying to use its handlers for signals
|
- Check if Hilbish is in interactive before trying to use its handlers for signals
|
||||||
|
@ -30,11 +20,9 @@ it finds the path to `binName` in $PATH
|
||||||
- `index` subdoc will no longer appear
|
- `index` subdoc will no longer appear
|
||||||
- Alias expansion with quotes
|
- Alias expansion with quotes
|
||||||
- Add full command to history in the case of incomplete input
|
- Add full command to history in the case of incomplete input
|
||||||
- `hilbish.exec()` now has a windows substitute
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- The minimal config is truly minimal now
|
- The minimal config is truly minimal now
|
||||||
- Default config is no longer copied to user's config and is instead ran its location
|
|
||||||
#### Breaking Changes
|
#### Breaking Changes
|
||||||
(there were a lot...)
|
(there were a lot...)
|
||||||
- Change default SHLVL to 0 instead of 1
|
- Change default SHLVL to 0 instead of 1
|
||||||
|
@ -42,15 +30,15 @@ it finds the path to `binName` in $PATH
|
||||||
only uses the paths mentioned below.
|
only uses the paths mentioned below.
|
||||||
- Changed Hilbish's config path to something more suited
|
- Changed Hilbish's config path to something more suited
|
||||||
according to the OS (`$XDG_CONFIG_HOME/hilbish/init.lua` on Linux,
|
according to the OS (`$XDG_CONFIG_HOME/hilbish/init.lua` on Linux,
|
||||||
`~/Library/Application Support/hilbish/init.lua` on MacOS and
|
`~/Library/Application Support/hilbish/init.lua` on MacOs and
|
||||||
(`%APPDATA%/hilbish/init.lua` on Windows). Previously on Unix-like it was
|
(`%APPDATA%/hilbish/init.lua` on Windows). Previously on Unix-like it was
|
||||||
`$XDG_CONFIG_HOME/hilbish/hilbishrc.lua`
|
`$XDG_CONFIG_HOME/hilbish/hilbishrc.lua`
|
||||||
- The history path has been changed to a better suited path.
|
- 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
|
On Linux, it is `$XDG_DATA_HOME/hilbish/.hilbish-history` and for others it is
|
||||||
the config path.
|
the config path.
|
||||||
- `hilbish.xdg` no longer exists, use `hilbish.userDir` instead,
|
- `hilbish.xdg` no longer exists, use `hilbish.userDir` instead,
|
||||||
as it functions the same but is OS agnostic
|
as it functions the same and is OS agnostic
|
||||||
- `hilbish.flag()` has been removed
|
- `hilbish.flag` has been removed
|
||||||
- `~/.hprofile.lua` has been removed, instead check in your config if `hilbish.login`
|
- `~/.hprofile.lua` has been removed, instead check in your config if `hilbish.login`
|
||||||
is true
|
is true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue