Commit Graph

776 Commits (57d75273567f046c2d4eb7e3ed460175350ee59f)

Author SHA1 Message Date
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
sammyette 37610ad8b0
fix: remove extra newline on exit 2021-10-17 16:47:04 -04:00
sammyette 6271a7fc18
fix: use succulent in preload, remove string split from preload 2021-10-17 16:32:04 -04:00
sammyette ad698b1a03
chore: bump version 2021-10-17 16:31:43 -04:00
sammyette 1b79abdab7
feat: add succulent lib 2021-10-17 16:31:31 -04:00
sammyette 7a3d9022e9
fix: add commonRequirePaths and linuxUserPaths to avoid repetition with custom require paths 2021-10-17 16:27:14 -04:00
sammyette 3d53e85fc9
feat: add terminal package
a simple, smaller but lower level terminal library, mainly used to set
raw mode. functions:
size, save and restore current state, set raw mode. documentation is in
docs/terminal.txt or `doc terminal` in hilbish
2021-10-17 16:10:57 -04:00
sammyette 85b347d5f3
feat(ansikit): add link function 2021-10-17 13:23:58 -04:00
sammyette 6b065dc035
fix(fs): make stat better
return a table with 4 values: name, size, mode and isDir
name -> name of path
size -> size (obviously)
mode -> permissions mode in a string as octal format
isDir -> whether path is a directory
2021-10-17 12:56:45 -04:00
sammyette df70082a81
feat: add doc command (closes #76)
the `doc` command is a way to see hilbish documentation from
in the shell. for usage, just run the command
2021-10-16 15:42:55 -04:00
sammyette 4dd6db54fe
fix: stop using setField wrapper 2021-10-16 15:40:16 -04:00
sammyette afd999a7b0
docs: add docs for functions 2021-10-16 15:38:49 -04:00
sammyette 54635072f6
fix(docgen): use better perm mask for output files and folder 2021-10-16 15:38:17 -04:00