Commit Graph

45 Commits (f81babe9737de4dd6fcf6ba55fbb8746deddbd04)

Author SHA1 Message Date
TorchedSammy 3421f286f2
fix: remove index subdoc (resolves #84) 2021-12-07 16:24:55 -04:00
TorchedSammy bfc141f655
fix: add home to recent dirs when visited (cd with no args) 2021-12-07 16:13:05 -04:00
TorchedSammy 284d4e01a3
chore: rename f to fname in subdoc map (doesnt redefine f) 2021-12-04 17:53:34 -04:00
TorchedSammy 3d36786cc7
chore: remove redundant returns 2021-12-04 17:53:10 -04:00
TorchedSammy 074c5f6766
fix: require lunacolors in preload 2021-12-04 17:50:04 -04:00
TorchedSammy 34778a4bdf
fix!: default SHLVL to 0 instead of 1 2021-11-28 23:19:14 -04:00
TorchedSammy 4e244e141f
fix: remove variables heading if there is none, account for global in new module doc format 2021-11-22 19:20:57 -05:00
TorchedSammy f741c2709c
fix: check and print module isnt found instead of failing 2021-11-22 19:20:31 -05:00
TorchedSammy 43ddab699f
feat: add in shell documentation for module properties 2021-11-22 18:59:28 -05:00
TorchedSammy e67c549714
fix: get function docs for normal modules (regression from 52a6eb2125) 2021-11-22 18:29:26 -05:00
TorchedSammy 52a6eb2125
docs: document available bait hooks 2021-11-22 16:36:32 -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 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 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 7769d68859
style: use green instead of blue in doc command 2021-10-17 17:23:35 -04:00
sammyette 7d9d3e4d72
style: make highlighted parts of docs underlined blue in doc command 2021-10-17 17:16:27 -04:00
sammyette 6271a7fc18
fix: use succulent in preload, remove string split from preload 2021-10-17 16:32:04 -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 cff7827ace
fix: trim extra whitespace from cd args
this fixed an issue with `cd -` not working
2021-10-08 09:49:57 -04:00
sammyette 630c0b0356
fix: dont trim spaces on cd dir args 2021-09-29 22:32:37 -04:00
sammyette 805eefcd17
fix: use hilbish.home instead of home env var 2021-06-14 18:12:12 -04:00
sammyette eab3f27ebf
fix: throw cd hook only after changing directory 2021-06-14 18:11:07 -04:00
sammyette b3a28b067c
style: use camel case for var name 2021-06-10 06:29:35 -04:00
sammyette 792ce996d3
fix: return 0 exit code when cd with noarg instead of throwing hook explicitly 2021-06-09 20:30:12 -04:00
sammyette 14064eceda
chore: cleanup and remove extra spaces 2021-06-09 18:41:37 -04:00
sammyette 7e970e9e81
feat: increment $SHLVL (closes #55) 2021-05-28 23:13:18 -04:00
sammyette 5408e68e19
fix: use hilbish.cwd to get cwd 2021-05-27 19:06:45 -04:00
Devin Singh 9573c2732d feat: cd - changes pwd to previous one
close #53
2021-05-27 17:26:02 -05:00
sammyette 14e6ae5a3c
feat: add command.not-found hook 2021-05-18 21:04:49 -04:00
sammy accd4beeba
fix(cd): return err code of fs.cd instead of 1 specifically 2021-05-11 18:57:54 -04:00
sammy a140db1610
fix(cd): make it return 1 exit code on err 2021-05-11 18:55:22 -04:00
sammy 80029cfff3
feat: make cd builtin work with env variables (resolves #43) 2021-05-01 13:31:51 -04:00
sammy e7dcbd5a95
feat: add string.split function 2021-05-01 01:08:20 -04:00
Devin Singh 345ff65da8
fix: remove appendpath from preload.lua 2021-04-28 17:13:43 -05:00
Devin Singh 4476a96eec
feat(wip): add appendpath 2021-04-28 16:57:06 -05:00
TorchedSammy 3460df6863 fix: make cd only throw command.exit hooks 2021-04-05 18:31:59 -04:00
TorchedSammy 807ec15faa fix: cleanup and move exit command to lua side 2021-04-05 15:21:44 -04:00
Jack 6c050194ed
feat: Proxy global string variables to ENV (#16) 2021-04-03 16:08:04 -04:00
TorchedSammy 204d50d73c feat(preload/cd): throw command hooks in cd command and add support for folders with spaces 2021-03-31 13:46:22 -04:00
TorchedSammy 5500baf5b6 feat: throw cd hook when chanding directory 2021-03-31 01:02:14 -04:00
TorchedSammy 8d92fc3b74 feat: cd with no path changes to homedir 2021-03-30 23:59:59 -04:00
TorchedSammy 7326cb77c6 fix: display error to user if dir does not exist 2021-03-30 23:58:12 -04:00
TorchedSammy a3d8f56d78 feat: preload file, make config more minimal 2021-03-21 12:41:23 -04:00