Commit Graph

25 Commits (1689d8072142109e10341447935efb3905672713)

Author SHA1 Message Date
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