Commit Graph

2 Commits (0c3028bb03cd53a62f8b4f1f0edd374e7cb150b4)

Author SHA1 Message Date
TorchedSammy 9b60dbfe99
refactor!: make runners require returning a table
allows for more options for runners in the future,
and makes it so that you can avoid passing
certain args more easily.
2022-05-29 21:34:02 -04:00
TorchedSammy c890b86e08
feat: add hilbish.opts and autocd opt
this adds `hilbish.opts`, a table to set
simple options akin to shopt or setopt on
other shells. this commit specifically also
includes the autocd opt, which functions the
way you expect it to

to set opts, simply do `hilbish.opts.name = val`,
where `name` is the opt you want to set and `val`
being the opt setting.

ie: `hilbish.opts.autocd = true` to turn on autocd
2022-04-30 21:22:37 -04:00