Commit Graph

938 Commits (b1d0cf3c78d16bacff329f476196a85af7927ff3)

Author SHA1 Message Date
TorchedSammy af4c3885ae
feat: add signal hooks for sigint and sigwinch (#80) 2021-11-22 15:13:05 -05:00
TorchedSammy 94a8b4ad47
feat: add prependPath function (resolves #81) 2021-11-22 12:46:39 -05:00
TorchedSammy 72cf776882
fix: use golang path list separator to not be unix specific 2021-11-22 12:45:45 -05:00
TorchedSammy 123f8992b1
feat: add tab completion api
tab complete is better than it was before!
there is a new `complete` function which allows adding custom arguments
to complete specific functions.
hilbish will now also complete executables if it's the first input
argument (this also works with ./)
if no completion is added for a command, hilbish will just complete
files
2021-11-22 11:24:31 -05:00
TorchedSammy 77cc7fe24a
fix: only resize term if not running command 2021-11-22 10:41:27 -05:00
TorchedSammy 5a258ce68e
chore: bump version 2021-11-22 10:39:50 -05:00
TorchedSammy 35e648b7bc
style: remove extra whitespace 2021-11-21 18:50:35 -05:00
TorchedSammy 06272778f8
fix: say if no perms for executable instead of printing not found 2021-11-21 18:45:44 -05:00
sammyette 2f816c33cd
fix: revert "chore: update deps"
This reverts commit e06765abc3.
broke builds
2021-10-30 23:08:29 -04:00
sammyette 9b66547803
docs: change urls to use new org name 2021-10-30 20:03:59 -04:00
sammyette e06765abc3
chore: update deps 2021-10-30 20:01:07 -04:00
sammyette 2073752e7e
chore: merge from dev 2021-10-30 19:57:50 -04: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 174d67c9e1
chore: bump version 2021-10-21 22:54:23 -04:00
sammyette c360ac7126
docs: add changelog for 0.6.1 2021-10-21 22:54:04 -04:00
sammyette f46d4c7024
docs: just remove the vertical split 2021-10-21 22:41:48 -04:00
sammyette d3c50aa227
docs: add newline before short description 2021-10-21 22:40:51 -04:00
sammyette 1ee8827c9c
docs: put short description above vertical split
this is the 420th commit! blaze it <o/
2021-10-21 22:38:20 -04:00
sammyette 54d88f9f6c
fix: use forked version of sh interp 2021-10-21 21:52:40 -04:00
sammyette 80acd0857d
fix(cd): use correct var 2021-10-21 20:55:54 -04:00
sammyette c12fd1a8b4
fix: let sh interp handle registered commanders 2021-10-21 20:49:28 -04:00
sammyette 1a7dccb757
feat(cd): show path in error messages 2021-10-21 20:49:00 -04:00
sammyette b008d48c60
fix: handle ctrl c properly when not interactive 2021-10-18 12:12:54 -04:00
sammyette 2cf979401b
feat: use dataDir in requirePaths 2021-10-17 23:14:18 -04:00
sammyette 87fcdd3c10
fix: remove / at the end of xdg data path 2021-10-17 23:13:53 -04:00
sammyette 9f523ba3c0
chore: fix merge conflict 2021-10-17 23:10:20 -04:00
sammyette e08e3b9b94
fix: require paths 2021-10-17 23:09:48 -04:00
sammyette 00f41a95bc
fix: use dataDir var in requirePaths 2021-10-17 23:00:38 -04:00
sammyette b1f4efd9ac
docs: remove links section 2021-10-17 22:43:58 -04:00
sammyette 212a52fd04
docs: fix link to nixos install info 2021-10-17 22:36:42 -04:00
legendofmiracles 0c7fadbaad
docs: add nix installation instructions (#78) 2021-10-17 22:34:43 -04:00
sammyette a8ecd44efb
docs: add changelog for 0.6.0 2021-10-17 19:43:28 -04:00
sammyette ce4ba48da0
feat: pass command string to command.exit, fix aliases with sh interp 2021-10-17 19:37:37 -04:00
sammyette 7a4cbbddff
fix(ansikit)!: return hyperlink ascii code instead of printing it 2021-10-17 19:19:43 -04:00
sammyette 72194898ba
fix: add back inspect 2021-10-17 18:51:44 -04:00
sammyette 3bd71828fa
fix: temporarily remove inspect 2021-10-17 18:51:25 -04:00
sammyette 7615e56ffd
feat: add cdr command
the cdr command will change to <index> directory from a list of 10
most recently moved to directories. this only works for the interactive
cd command, and not the fs.cd function.
you can find the list of recent directories with `cdr list`.
usage: `cdr <index>`
the `cdr help` command also gives this bit of info
2021-10-17 18:42:36 -04:00
sammyette d51ae7d310
chore: update succulent 2021-10-17 18:39:14 -04:00
sammyette 3042fce50e
fix: cleanup since returned tables from functions aren't userdata anymore 2021-10-17 18:10:06 -04:00
sammyette 9b6ca1faf4
style: make modules underlined and colored 2021-10-17 18:09:42 -04:00
sammyette b97e1efa8d
fix(cd): correctly report error 2021-10-17 17:55:41 -04:00
sammyette 86013e6576
fix: use RaiseError function from gopher-lua instead of Error 2021-10-17 17:55:21 -04:00
sammyette 51a68e24cf
chore: update succulent to fixed ver 2021-10-17 17:54:52 -04:00
sammyette c95fb05fbf
fix: dont use luar to pass command args to commander 2021-10-17 17:46:26 -04:00
sammyette 006f0f986e
fix(fs): stop using luar, make readdir return a proper table 2021-10-17 17:26:29 -04:00
sammyette 7769d68859
style: use green instead of blue in doc command 2021-10-17 17:23:35 -04:00
sammyette 586566c595
chore: make changelog.md in uppercase 2021-10-17 17:17:53 -04:00
sammyette 1e76b1501f
fix: add back dataDir field to hilbish module 2021-10-17 17:16:49 -04:00
sammyette 7d9d3e4d72
style: make highlighted parts of docs underlined blue in doc command 2021-10-17 17:16:27 -04:00