TorchedSammy
b221921ab7
docs: detail removal of .hprofile.lua
2022-02-26 12:15:03 -04:00
TorchedSammy
0b5bbcc73c
refactor!: remove .hprofile.lua
...
same reason as not using ~/.hilbishrc.lua, and also
the fact that users can now just check if
`hilbish.login` is true in their config which is
more organized
2022-02-26 12:14:26 -04:00
TorchedSammy
21b093559a
docs: [ci] generate new docs
2022-02-26 15:37:02 +00:00
TorchedSammy
e5566f672a
chore: merge from upstream
2022-02-26 11:36:34 -04:00
TorchedSammy
715a67b882
docs: add emmylua annotations for hilbish module functions
2022-02-26 11:36:04 -04:00
TorchedSammy
18abb66ad4
docs: [ci] generate new docs
2022-02-26 15:32:36 +00:00
TorchedSammy
9d390c87cf
docs: put breaking changes under a separate heading
2022-02-26 11:32:10 -04:00
TorchedSammy
e3a0195eb3
refactor!: remove hilbish.flag
...
not really that useful
2022-02-26 11:29:20 -04:00
TorchedSammy
06221e06cd
chore: fix hilbiline version
2022-02-26 11:25:28 -04:00
TorchedSammy
fd513b6ae3
fix: correct require paths on windows
2022-02-25 21:34:30 -04:00
TorchedSammy
1b0ae5b1e3
chore: update go sum
2022-02-25 20:44:07 -04:00
TorchedSammy
15caa6e449
chore: replace gopher-lua import with github link
2022-02-25 20:42:50 -04:00
TorchedSammy
d448ef07e0
chore: update manifests
2022-02-25 20:37:11 -04:00
TorchedSammy
d7e78514de
docs: add changelog for master
2022-02-25 19:04:52 -04:00
TorchedSammy
186d620311
docs: bring contributing guide up to date
2022-02-25 18:22:59 -04:00
TorchedSammy
15cf5bb6f3
docs: [ci] generate new docs
2022-02-25 22:17:22 +00:00
TorchedSammy
a74c9a4200
docs(fs): change bool to boolean
2022-02-25 18:17:04 -04:00
TorchedSammy
0bf4072355
docs: [ci] generate new docs
2022-02-25 22:15:49 +00:00
TorchedSammy
a77b997942
refactor: add emmylua docs for all functions appropriate
2022-02-25 18:15:25 -04:00
TorchedSammy
dc608436c1
fix(commander): omit the 'in the shell' part for the description
2022-02-25 18:08:49 -04:00
TorchedSammy
18c115325a
ci: change regen to just gen
2022-02-25 18:04:34 -04:00
TorchedSammy
bd3628332e
docs: [ci] regenerate new docs
2022-02-25 22:00:39 +00:00
TorchedSammy
e75c60ff49
feat(docgen): support outputting emmylua sources ( closes #91 )
2022-02-25 18:00:18 -04:00
TorchedSammy
165cedf328
ci: rename job to regen
2022-02-25 17:59:32 -04:00
TorchedSammy
4c371d8095
ci: fix setup for go
2022-02-25 17:58:09 -04:00
TorchedSammy
c5f5a83990
ci: add action to gen and push docs
2022-02-25 17:55:35 -04:00
TorchedSammy
d1b7515722
fix(docgen): remove trailing spaces in docs
2022-02-24 20:42:54 -04:00
TorchedSammy
b468727a32
refactor(docgen): remove global doc
2022-02-24 20:37:13 -04:00
TorchedSammy
62d8725d99
refactor: remove global module from doc command ( closes #90 )
2022-02-24 18:19:54 -04:00
TorchedSammy
2a0cd1464a
fix: dont copy default conf to user dir
...
doing this prevents problems in later releases with breaking
changes (though this shouldnt be the case anymore)
2022-02-23 22:20:11 -04:00
TorchedSammy
f05ab921d7
refactor!: use better default paths
...
~/.hilbishrc.lua has been removed and will no longer be loaded.
instead, $XDG_CONFIG_HOME/hilbish/init.lua is to be used
the history path has been changed to a more suited one.
on linux, it is in $XDG_DATA_HOME/hilbish/.hilbish-history,
or otherwise ~/.local/share/hilbish/.hilbish-history
2022-02-23 22:19:54 -04:00
TorchedSammy
cb3d0a2e8e
fix: use os agnostic function to get config dir
2022-02-23 22:01:35 -04:00
TorchedSammy
209abfac77
fix: change default hist path to use hist name instead of config name
2022-02-23 21:29:37 -04:00
TorchedSammy
5e9ea9fead
fix: dont add recent dir if its same as last previous ( fixes #92 )
2022-02-23 21:16:16 -04:00
TorchedSammy
11f193b394
fix: make default config work with breaking changes
2022-02-23 21:14:49 -04:00
TorchedSammy
4cc49d45c7
chore: update license
2022-02-12 16:46:41 -04:00
TorchedSammy
afe579f5be
fix: use correct signature for rl lua loader
2022-01-31 17:46:24 -04:00
TorchedSammy
5d3c129e80
fix: import gopher-lua in other rl impls
2022-01-31 17:45:21 -04:00
TorchedSammy
2bc75c8130
style: tiny style changes/fixes
2022-01-31 17:43:12 -04:00
TorchedSammy
22d8a61544
feat: add hilbish.history interface ( closes #85 )
2022-01-27 17:02:21 -04:00
TorchedSammy
3f9aad64b5
fix: use right function to set prompt in minimal config
2022-01-27 17:01:27 -04:00
TorchedSammy
8c802a6e6b
feat: dont put input in history if it starts with a space
2022-01-27 16:28:29 -04:00
TorchedSammy
f2a2ac44d6
refactor!: move global functions to the hilbish module
...
its more organized this way and the `hilbish` lua module
is now what global was before anyway
a feature in this commit also is that `goro` now allows
passing any amount of args to the calling function
2022-01-26 15:51:52 -04:00
TorchedSammy
ea9c3eac30
docs: document new signal hooks
2022-01-26 15:20:48 -04:00
TorchedSammy
9cf03e37c4
fix: change hooks from signals to signal
...
drop the s, dont remember when i added it
it makes more sense and its what the docs have anyway
2022-01-26 15:18:54 -04:00
TorchedSammy
e0b84aaff7
feat: emit sigusr1 and 2 signal hooks
2022-01-26 15:18:09 -04:00
TorchedSammy
8821171ff5
chore: clean up and update modules
2022-01-02 19:21:34 -04:00
TorchedSammy
c03671f47d
chore: rename files to avoid collision (hilbish bin and shell.nix)
2021-12-31 20:00:39 -04:00
TorchedSammy
5787582c2e
fix: expansion on quotes in alias expansion
...
to show what this fixes:
`git commit -m "a commit message"` would report that it didnt find
pathspecs for commit or message, because the commit message is only passed as `a`
also fixes it to make it work in commands in other sh syntax
2021-12-31 14:11:11 -04:00
TorchedSammy
9d685ab785
feat: add hilbish.greeting
2021-12-31 13:25:53 -04:00