TorchedSammy
43ddab699f
feat: add in shell documentation for module properties
2021-11-22 18:59:28 -05:00
sammyette
84ec3d085d
feat: add hilbish.read function
...
`hilbish.read` will read input from the user, using
hilbish's line editor library (hilbiline or readline)
2021-10-30 19:53:42 -04:00
sammyette
97a6e4baf2
feat: add hilbish.interactive and hilbish.login vars
...
these are to check from lua if hilbish is running an interactive or
login session
2021-10-30 19:44:40 -04:00
sammyette
87fcdd3c10
fix: remove / at the end of xdg data path
2021-10-17 23:13:53 -04:00
sammyette
1e76b1501f
fix: add back dataDir field to hilbish module
2021-10-17 17:16:49 -04:00
sammyette
4dd6db54fe
fix: stop using setField wrapper
2021-10-16 15:40:16 -04:00
sammyette
3b97b22f10
feat: add hilbish.dataDir var
2021-10-16 13:51:09 -04:00
sammyette
3cafbe8c4f
docs: document `hilbish` module functions, xdg vars, and add descriptions for modules
2021-10-16 12:41:10 -04:00
L3af
400dd2944d
feat: respect xdg directories ( #71 )
...
* feat: respect xdg directories
* fix: move xdg vars to table
Co-authored-by: L3af <ohhaon@icloud.com>
2021-10-07 20:58:07 -04:00
sammyette
c95b0b55be
fix: runtime errors on linux
...
this fixes out of bounds error since we tried to split the username
for '\' which is only valid on windows, so i added it for windows only
2021-09-25 21:39:06 -04:00
sammyette
a3cc8160d3
fix: trim off hostname in %u verb for windows
2021-07-08 03:44:57 -07:00
sammyette
a4dbfbf4bb
feat: add hilbish.home
...
`hilbish.home` is the user's home directory path
this is a cross platform variable that works instead of using
`$HOME` (which isnt set in windows cmd, i think)
2021-06-11 21:49:28 -04:00
sammyette
af4b4b2ae0
feat: add hilbish.cwd function
2021-05-27 19:06:17 -04:00
sammyette
12828d197a
feat: add hilbish.flag function
...
this checks if a certain flag has been passed to hilbish
2021-05-16 18:10:46 -04:00
sammyette
ef1ced4a04
refactor: make `hilbish` an already required module and add run function
...
idk how to explain this man
in code `hilbish` is now a module, which can also be required like
others. but it is already a global export as the variable of the same
name.
also
2021-05-16 17:13:28 -04:00
sammyette
c6aa5fa387
fix: remove unneeded struct tag
2021-05-16 16:18:46 -04:00
sammyette
e29ba6a0d5
feat!: move username and version access to hilbish table
...
instead of having ugly `_user` and `_ver` variables,
`hilbish.user` and `hilbish.version` is used
2021-05-16 15:53:21 -04:00