TorchedSammy
dd52fd2ad9
feat: make it so hilbish.run can return command output
2022-04-02 12:11:17 -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
TorchedSammy
8714f54915
feat: implement job management
2022-03-29 21:43:36 -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
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
7373718416
feat: implement hilbish.interval
2022-03-29 13:05:43 -04:00
TorchedSammy
ead72f0a5c
feat: implement completions
2022-03-29 07:03:58 -04:00
TorchedSammy
7909aeb4b3
feat: add hilbish module functions used by prelude
2022-03-28 21:02:33 -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
TorchedSammy
62a6cc56b9
docs: document hilbish.highlighter
2022-03-26 18:28:01 -04:00
TorchedSammy
76f100ca77
feat: expose syntax highlighting ( closes #125 )
2022-03-26 18:25:19 -04:00
TorchedSammy
6ea25a22b3
feat: add inline hint text and change what were hints previously to info ( closes #126 )
2022-03-26 17:34:09 -04:00
TorchedSammy
3636efe7f8
docs: add doc for mode param of runnerMode function
2022-03-22 18:33:11 -04:00
TorchedSammy
2fe888e186
feat: add hilbish.jobs interface and add stop function to job in hooks ( closes #109 )
2022-03-20 19:10:12 -04:00
TorchedSammy
654ca4b527
docs: fix hilbish.alias doc
2022-03-20 17:54:02 -04:00
TorchedSammy
86a15e6363
feat: add configurable runner mode ( closes #110 )
2022-03-20 15:15:44 -04:00
TorchedSammy
96c1487bfa
fix: make sure complete input is added to history
2022-03-19 18:48:03 -04:00
TorchedSammy
1378a74e87
feat: add job hooks (part of #109 )
2022-03-19 13:10:50 -04:00
TorchedSammy
63bc398f1c
fix: use unexported alias handler init function
2022-03-19 12:44:26 -04:00
TorchedSammy
01d937afd8
fix: correct username in greeting on windows
2022-03-16 18:42:38 -04:00
TorchedSammy
ba67278fad
fix: dont print types of args in appendPath
2022-03-06 17:19:47 -04:00
TorchedSammy
5c4335ec6a
docs: include guide command in greeting message
2022-03-06 14:56:04 -04:00
TorchedSammy
4ef6c7d5c0
fix: hilbish.read overriding history
2022-03-06 14:38:27 -04:00
TorchedSammy
fb3cedb161
fix: set prompt in hilbish.read
2022-03-06 14:23:41 -04:00
TorchedSammy
4b57dc2ed8
feat: add hilbish.exitCode property ( closes #101 )
2022-03-06 12:09:10 -04:00
TorchedSammy
928b829388
fix: set hilbish.vimMode property before throwing hook
2022-03-06 12:08:00 -04:00
TorchedSammy
76c94bfcce
docs: fix docs for hilbish.complete
2022-03-05 16:12:46 -04:00
TorchedSammy
0ed365170c
refactor!: completion api, add hilbish.completion interface
...
this is a pretty big commit which mainly contains a refactor
and breaking change to how command completions are done.
before that, a hilbish.completion interface has been added
which for now just has 2 functions (`files` and `bins`)
for completions of normal files and executables.
hilbish.complete is now expected to return a table of
"completions groups," which are as the name suggests a group
for a completion. a completion group is a table which has
the fields `type`, which can be either `list` or `grid`,
and `items`, being an array (or string keyed table) of items
if an item is string keyed the item itself is the key name
and the value is a table with the first value in it being the
description for the item. this description is only applied
with the list type.
this is probably the longest commit message ive written
2022-03-05 15:59:00 -04:00
TorchedSammy
f1dfd59c4c
fix: add back prompt global var
...
fixes an issue with multiline prompt overriding user's prompt
permanently
2022-03-05 15:46:38 -04:00
TorchedSammy
9f206ebed0
fix: export hilbish.complete
2022-03-05 11:38:33 -04:00
TorchedSammy
5175367b35
fix: handle errors in goro and timeout callbacks
2022-03-04 22:21:34 -04:00
TorchedSammy
6b9bbb615d
fix: handle prompt properly and remove global
2022-03-04 21:54:47 -04:00
TorchedSammy
99461e42d0
fix: export hilbish.goro ( closes #98 )
2022-03-04 14:40:54 -04:00
TorchedSammy
e7ac7ce843
feat: add hilbish.os interface ( closes #94 )
2022-03-02 19:11:57 -04:00
TorchedSammy
e8d0ea12cc
fix: add substitute for exec syscall on windows
2022-03-01 22:14:55 -04:00
TorchedSammy
c175bb4d8a
docs: add emmylua doc comments for hilbish module functions
2022-03-01 22:12:48 -04:00
TorchedSammy
065d752b82
feat: accessible vim input mode ( closes #95 )
2022-03-01 22:00:46 -04:00
TorchedSammy
062f40e9e5
fix: push hilbish.which return value properly
2022-03-01 19:34:07 -04:00
TorchedSammy
3b6284bc7c
feat: add hilbish.which ( closes #93 )
2022-03-01 18:59:44 -04:00
TorchedSammy
d9d2152e04
fix: add full command after complete prompt to history
2022-02-27 19:12:58 -04:00
TorchedSammy
715a67b882
docs: add emmylua annotations for hilbish module functions
2022-02-26 11:36:04 -04:00