Commit Graph

773 Commits (48ab7c13acce4cb3bba756ab1d5960bd9e11ea81)

Author SHA1 Message Date
TorchedSammy 48ab7c13ac
fix: read file manually in DoFile to avoid shebang 2022-04-02 15:30:55 -04:00
TorchedSammy e91cf98634
feat: run script when provided path 2022-04-02 15:27:15 -04:00
TorchedSammy b39083fe32
fix: deregister commander if return isnt number 2022-04-02 12:33:08 -04:00
TorchedSammy 0826839846
fix(ansikit): flush on io.write 2022-04-02 12:14:29 -04:00
TorchedSammy 24d0b8ead7
fix: set hilbish.exitCode to last command exit code 2022-04-02 12:13:56 -04:00
TorchedSammy dd52fd2ad9
feat: make it so hilbish.run can return command output 2022-04-02 12:11:17 -04:00
TorchedSammy 37cfae3423
refactor: use hlalias for add function in hilbish.alias interface 2022-04-02 10:49:13 -04:00
TorchedSammy 75b51075b8
chore: merge from master 2022-03-30 20:29:21 -04:00
TorchedSammy 1c05d0d5c5
feat: implement os interface 2022-03-30 20:14:26 -04:00
TorchedSammy 7786b4f37a
feat: add module description docs 2022-03-30 20:11:15 -04:00
TorchedSammy 14274a9432
feat: add completion interface 2022-03-30 08:46:21 -04:00
TorchedSammy d24d773e2d
feat: implement history interface 2022-03-30 08:36:05 -04:00
TorchedSammy 021d20585d
feat: implement all hilbish module functions 2022-03-30 08:21:36 -04:00
TorchedSammy 0a5a2e727e
feat: add hilbish properties 2022-03-29 23:37:53 -04:00
Renzix 0ebd8d9035
feat: added alt backspace keybinding (#132)
Co-authored-by: Renzix <DanielDeBruno@renzix.com>
2022-03-29 22:15:23 -04:00
TorchedSammy 8714f54915
feat: implement job management 2022-03-29 21:43:36 -04:00
TorchedSammy c46807613e
refactor: make loader functions for go modules unexported 2022-03-29 21:05:46 -04:00
TorchedSammy a45b3fe1fa
chore: fix dofile comment doc 2022-03-29 21:04:50 -04:00
TorchedSammy 245400e43d
chore: add comments to document util functions 2022-03-29 21:02:15 -04:00
TorchedSammy 6848b59cbf
feat: implement syntax highlight and hints 2022-03-29 20:57:29 -04:00
TorchedSammy ad183a7208
style: use comma separated cases instead of fallthrough 2022-03-29 20:57:05 -04:00
Renzix 52caedc1f1
feat: delete key on st and fix: delete key crash on xterm (#131)
* fix: delete key on st

* fix: delete key crash on xterm

Co-authored-by: Renzix <DanielDeBruno@renzix.com>
2022-03-29 20:35:51 -04:00
TorchedSammy 3bea73460a
feat: implement runner mode 2022-03-29 20:16:03 -04:00
TorchedSammy 5a3b28142c
feat: add input mode 2022-03-29 18:51:14 -04:00
TorchedSammy 183b22e565
feat: implement aliases 2022-03-29 18:03:57 -04:00
TorchedSammy 8cf101cee2
chore: resolve merge conflict from master 2022-03-29 17:42:40 -04:00
TorchedSammy 34ae8ade7b
chore: tidy go modules 2022-03-29 15:28:39 -04:00
TorchedSammy 23b04159b0
chore: merge from master 2022-03-29 14:53:58 -04:00
TorchedSammy 294569d6e8
chore: update golua 2022-03-29 14:53:43 -04:00
TorchedSammy 9ff6e5879f
chore: bump go version to 1.17 2022-03-29 13:31:16 -04:00
TorchedSammy e775e5646f
chore: merge from master 2022-03-29 13:10:27 -04:00
TorchedSammy 1bd7b11ebc
chore: update lunacolors 2022-03-29 13:10:09 -04:00
TorchedSammy 20fae8a870
fix: prompt refresh (closes #116) 2022-03-29 13:07:27 -04:00
TorchedSammy 7373718416
feat: implement hilbish.interval 2022-03-29 13:05:43 -04:00
TorchedSammy 10f6db20d4
feat: implement terminal 2022-03-29 08:52:26 -04:00
TorchedSammy e1d4258e07
chore: remove comment 2022-03-29 07:06:10 -04:00
TorchedSammy ead72f0a5c
feat: implement completions 2022-03-29 07:03:58 -04:00
sammyette dce02e5310
chore: merge from master 2022-03-28 21:38:37 -04:00
TorchedSammy c0b08a340a
fix: make sure args to setenv are strings in prelude 2022-03-28 21:06:45 -04:00
TorchedSammy 506f90de06
chore: use custom fork of golua 2022-03-28 21:02:57 -04:00
TorchedSammy 7909aeb4b3
feat: add hilbish module functions used by prelude 2022-03-28 21:02:33 -04:00
TorchedSammy a7722fa331
feat: implement fs 2022-03-28 19:36:06 -04:00
TorchedSammy b887ad4fa9
feat: implement commander 2022-03-28 19:12:58 -04:00
TorchedSammy e466085d24
refactor: move arg handle function to util 2022-03-28 19:12:13 -04:00
TorchedSammy d2d423a4ef
refactor: use util funcs to run lua where possible 2022-03-28 18:58:56 -04:00
TorchedSammy 26add67287
feat: implement bait 2022-03-28 17:48:12 -04:00
TorchedSammy 2086a1ec78
fix: handle panic in lua input if it is incorrect 2022-03-28 17:43:31 -04:00
TorchedSammy d34aa09e8e
fix: handle errors in user config 2022-03-28 17:40:36 -04:00
TorchedSammy 9fc2247c20
fix: call cont next in prompt function
this continues execution of lua, very obvious
fixes an issue with code stopping at the prompt function
2022-03-28 16:30:04 -04:00
TorchedSammy 016a3a2ec7
refactor: start work on lua 5.4
lots of commented out code

ive found a go lua library which implements lua 5.4
and found an opportunity to start working on it.
this commit basically removes everything and just leaves
enough for the shell to be "usable" and able to start.
there are no builtins or libraries (besides the `hilbish` global)
2022-03-27 22:17:59 -04:00