mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "b210378380e9e56f3d012647dc667e3f8207dd8e" and "2790982ad123115c6ddbc5764677fdca27668cea" have entirely different histories.
b210378380
...
2790982ad1
|
@ -19,9 +19,7 @@ jobs:
|
|||
goos: windows
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
|
@ -31,18 +29,10 @@ jobs:
|
|||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.goos == 'windows'
|
||||
with:
|
||||
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}.exe
|
||||
path: hilbish.exe
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.goos != 'windows'
|
||||
with:
|
||||
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
path: |
|
||||
LICENSE
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
.hilbishrc.lua
|
||||
nature
|
||||
libs
|
||||
docs
|
||||
emmyLuaDocs
|
||||
path: hilbish
|
||||
|
|
|
@ -30,13 +30,13 @@ jobs:
|
|||
- goarch: arm64
|
||||
goos: windows
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
submodules: recursive
|
||||
- uses: wangyoucao577/go-release-action@v1.25
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
binary_name: hilbish
|
||||
extra_files: LICENSE README.md CHANGELOG.md .hilbishrc.lua nature libs docs emmyLuaDocs
|
||||
extra_files: LICENSE README.md CHANGELOG.md .hilbishrc.lua prelude libs docs emmyLuaDocs
|
||||
|
|
58
CHANGELOG.md
58
CHANGELOG.md
|
@ -1,63 +1,5 @@
|
|||
# 🎀 Changelog
|
||||
|
||||
## Unreleased
|
||||
### Added
|
||||
- Inline hints, akin to fish and the others.
|
||||
To make a handler for hint text, you can set the `hilbish.hinter` function.
|
||||
For more info, look at its docs with the `doc hilbish` command.
|
||||
- Syntax highlighting function. To make a handler for it, set
|
||||
`hilbish.highlighter`. Same thing as the hinter, check `doc hilbish` for
|
||||
more info/docs.
|
||||
- Ctrl+K deletes from the cursor to the end of the line. ([#128](https://github.com/Rosettea/Hilbish/pull/128))
|
||||
- Alt+Backspace as an alternative of Ctrl+W to delete a word. ([#132](https://github.com/Rosettea/Hilbish/pull/132))
|
||||
- Enhanced timer API (`doc timers`)
|
||||
- Don't exit until intervals are stopped/finished when running a non interactive script.
|
||||
- Ctrl+D deletes character below cursor if line isn't empty instead of exiting.
|
||||
- Ctrl+Delete to forward delete a word.
|
||||
- Right prompt ([#140](https://github.com/Rosettea/Hilbish/pull/140))
|
||||
- Ctrl+_ to undo in Emacs input mode.
|
||||
- Emacs style forward/backward word keybinds ([#139](https://github.com/Rosettea/Hilbish/pull/139))
|
||||
- `hilbish.completion.call` to call a completion handler (`doc completions`)
|
||||
- `hilbish.completion.handler` to set a custom handler for completions. This
|
||||
is for everything/anything as opposed to just adding a single command completion.
|
||||
[#122](https://github.com/Rosettea/Hilbish/issues/122)
|
||||
- `fs.abs(path)` to get absolute path.
|
||||
- Nature module (`doc nature`)
|
||||
|
||||
### Changed
|
||||
- **Breaking Change:** Upgraded to Lua 5.4.
|
||||
This is probably one of (if not the) biggest things in this release.
|
||||
- **Breaking Change:** MacOS config paths now match Linux.
|
||||
- Overrides on the `hilbish` table are no longer permitted.
|
||||
- **Breaking Change:** Runner functions are now required to return 3 values:
|
||||
user input, exit code, and error. User input has been added to the return to
|
||||
account for runners wanting to prompt for continued input, and to add it
|
||||
properly to history.
|
||||
|
||||
### Fixed
|
||||
- If in Vim replace mode, input at the end of the line inserts instead of
|
||||
replacing the last character.
|
||||
- Make forward delete work how its supposed to.
|
||||
- Prompt refresh not working properly.
|
||||
- Crashing on input in xterm. ([#131](https://github.com/Rosettea/Hilbish/pull/131))
|
||||
- Make delete key work on st ([#131](https://github.com/Rosettea/Hilbish/pull/131))
|
||||
- `hilbish.login` being the wrong value.
|
||||
- Put full input in history if prompted for continued input
|
||||
- Don't put alias expanded command in history (sound familiar?)
|
||||
- Handle cases of stdin being nonblocking (in the case of [#130](https://github.com/Rosettea/Hilbish/issues/130))
|
||||
- Don't prompt for continued input if non interactive
|
||||
- Don't insert unhandled control keys.
|
||||
- Handle sh syntax error in alias
|
||||
- Use invert for completion menu selection highlight instead of specific
|
||||
colors. Brings an improvement on light themes, or themes that don't follow
|
||||
certain color rules.
|
||||
- Home/End keys now go to the actual start/end of the input.
|
||||
- Input getting cut off on enter in certain cases.
|
||||
- Go to the next line properly if input reaches end of terminal width.
|
||||
- Cursor position with CJK characters. ([#145](https://github.com/Rosettea/Hilbish/pull/145))
|
||||
- Files with same name as parent folder in completions getting cut off [#136](https://github.com/Rosettea/Hilbish/issues/136))
|
||||
- `hilbish.which` now works with commanders and aliases.
|
||||
|
||||
## [1.2.0] - 2022-03-17
|
||||
### Added
|
||||
- Job Management additions
|
||||
|
|
|
@ -6,7 +6,6 @@ package.path = package.path .. ';' .. hilbish.dataDir .. '/?/init.lua'
|
|||
|
||||
require 'nature.hooks'
|
||||
require 'nature.commands'
|
||||
require 'nature.completions'
|
||||
|
||||
local shlvl = tonumber(os.getenv 'SHLVL')
|
||||
if shlvl ~= nil then
|
||||
|
|
Loading…
Reference in New Issue