Commit Graph

2 Commits (a88097e159ea5252fc8e71680ebb940f4693590b)

Author SHA1 Message Date
TorchedSammy a8475cfa67
refactor: handle history in lua
this also introduces a new opt: history
if it is false, command history won't get added
2022-07-09 16:49:56 -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