Commit Graph

947 Commits (6f95ae6564ecc09e33c38fd48ad748b92d9b324b)

Author SHA1 Message Date
sammyette 6f95ae6564
fix: remove - in tag 2022-12-19 21:37:38 -04:00
sammyette 0ba0dead53
chore: set hilbish version to 2.0.0-rc1 2022-12-19 21:29:33 -04:00
sammyette fd359fd525
chore: fix version of hilbish-git, make hilbish spec file 2022-12-19 21:27:55 -04:00
TorchedSammy 37d8b944e9
chore: remove debugging in spec 2022-12-05 16:26:14 -04:00
TorchedSammy 9166bb4fb0
chore: leave debug info in build 2022-12-05 15:54:55 -04:00
TorchedSammy 1fd50197a6
build: make goflags overridable 2022-12-05 15:54:31 -04:00
TorchedSammy 7e516167cf
chore: fix missing build id problem 2022-12-05 15:33:24 -04:00
TorchedSammy e3a5d5d600
chore: add /usr to install prefix 2022-12-05 15:27:51 -04:00
TorchedSammy c243bf0a0c
chore: include build root in bindir 2022-12-05 15:20:27 -04:00
TorchedSammy a9c438b4ea
chore: revert "build: change command to make bindir"
This reverts commit c565233eff.
this wasnt needed, i need to fix the bindir in the spec file
2022-12-05 15:19:17 -04:00
TorchedSammy c565233eff
build: change command to make bindir 2022-12-05 15:12:56 -04:00
TorchedSammy 3b8942a3fe
chore: add git to build requirements in spec file 2022-12-05 15:03:23 -04:00
TorchedSammy 5aa2a9d5cc
fix: use go-task for task binary instead of task 2022-12-05 14:57:34 -04:00
TorchedSammy 32de0eb12f
fix: use correct extension for taskfile 2022-12-05 14:48:28 -04:00
TorchedSammy 22db778ab0
chore: add rpm spec file for git version 2022-12-05 14:38:07 -04:00
TorchedSammy 604dedb36d
chore: update lunacolors 2022-12-05 14:16:43 -04:00
TorchedSammy 395f3c0742
ci: remove extra indent in release action 2022-12-02 09:42:06 -04:00
TorchedSammy 0c44531a7f
chore: merge from upstream 2022-12-02 09:39:48 -04:00
TorchedSammy 4e850bb322
ci: set build version to 1.18, use task for release builds 2022-12-02 09:39:22 -04:00
TorchedSammy 09d04a7850 docs: [ci] generate new docs 2022-12-02 00:05:24 +00:00
TorchedSammy 4df37b4341
chore: merge from upstream 2022-12-01 20:04:55 -04:00
TorchedSammy 5e2b3367de
docs(bait): add annotation strings for release and hooks functions 2022-12-01 20:04:24 -04:00
Daniel de Sá b6aecb12f6
chore: add .editorconfig file (#217) 2022-12-01 09:29:27 -04:00
TorchedSammy 3f9b230381
chore: update changelog 2022-11-30 14:29:46 -04:00
TorchedSammy b395b70ecd
fix: escape completion prefix if completions are escaped
fixes an issue with duplicated characters when
completing escaped paths
2022-11-30 14:26:43 -04:00
TorchedSammy 06102ebdae
perf: preallocate history slice 2022-11-30 13:20:00 -04:00
TorchedSammy bd4e0df7b3
feat: select 1st item on history find menu (closes #148)
cancels on escape unless the user moves to another item
2022-11-25 20:14:29 -04:00
TorchedSammy ebec585690
fix: binary completion with spaces (closes #210) 2022-11-25 19:35:26 -04:00
TorchedSammy ff4609e432
feat: add hilbish.cancel hook (closes #213) 2022-11-25 19:21:36 -04:00
TorchedSammy ef3e7d92bc
chore: update changelog 2022-11-25 19:13:32 -04:00
TorchedSammy d6338fc021
fix(readline): make completion search menu display 2022-11-25 19:08:38 -04:00
TorchedSammy 3eaeb6a5da
fix(readline): grip completion menu fixes
- dont print item left justified if the max number
of cells is 1 (this fixes issues in cjk as an example)
- trim items that are longer than the terminal width
2022-11-25 18:39:18 -04:00
TorchedSammy 8b547f2af0
feat: make tab completion work with spaces and escaped characters 2022-11-25 16:56:35 -04:00
TorchedSammy 1febe66f84
fix(readline): use uniseg to calculate width of virtual tab entry (closes #209) 2022-11-17 19:18:57 -04:00
TorchedSammy 6ffcc498ac
docs: update changelog for rc 2022-10-14 19:25:18 -04:00
TorchedSammy fe47c6c7a1
chore: change version to rc1 2022-10-14 19:16:24 -04:00
sammy 0d32a10ca3
feat: add builtins clear, exec and cat (#208)
* feat: add clear and exec command

* docs: add builtins to changelog

* feat: add cat command
2022-10-14 19:15:40 -04:00
TorchedSammy cc6e5d01dd docs: [ci] generate new docs 2022-10-11 21:43:22 +00:00
TorchedSammy 068a5b5149
feat(bait): add error hook and hooks function (closes #205)
an `error` hook is now thrown when an event in lua
throws an error (errors from go side should not happen)
it includes the event name, handler, and error message

a hooks function has also been added. it returns a table
of handlers for a specific event.
2022-10-11 17:41:13 -04:00
TorchedSammy 117a4580b4
chore: merge from upstream master 2022-10-10 18:55:28 -04:00
TorchedSammy 0db7f96fd7
build: disable cgo in builds 2022-10-10 18:55:03 -04:00
TorchedSammy 300248de54 docs: [ci] generate new docs 2022-10-10 22:41:10 +00:00
TorchedSammy 3ee2b03330
feat: make prompt optional in hilbish.read 2022-10-10 18:40:29 -04:00
TorchedSammy 3bec2c91a8
fix: create an empty line reader instance for hilbish.read (closes #190) 2022-10-10 18:26:54 -04:00
TorchedSammy b4ca5bfda3
fix(readline): put cursor at end of text when exiting editor 2022-10-10 18:19:24 -04:00
TorchedSammy 308e257872
fix(readline): take into account newlines when calculating amount of lines taken up by input
this does not really fix the issue of multiline input
being broken completely, but prevents the prompt
being reprinted on input
2022-10-10 18:17:58 -04:00
TorchedSammy 7db2a2c826
fix: check if there is cmd input before attempting to add to history (closes #206) 2022-10-10 18:11:09 -04:00
TorchedSammy 22f6ea8a3e
docs: remove getting started from readme toc 2022-10-10 17:34:08 -04:00
TorchedSammy 91596fa81c
docs: document drop in windows support 2022-10-10 17:33:36 -04:00
TorchedSammy e5c8e5eaff
fix!: pass non expanded input to builtin runners
fixes an issue with expanded aliases being added
to history with a recent commit (6th time now with
this issue?) and makes behavior with other runners
consistent

this can technically be a breaking change to people
overriding the sh runner function
2022-09-17 21:00:28 -04:00