Commit Graph

1103 Commits (1e6c712cbcdf648d9bd6742198adf128af340450)

Author SHA1 Message Date
sammy 4d38b913f1
feat: add lunacolors library 2021-05-01 16:05:02 -04:00
sammy 32dea836d5
fix!: remove format function from ansikit
BREAKING CHANGE: this function has been moved to
Lunacolors. Hilbish users will now be using that
separate library for colors, while ansikit will be for
other terminal codes and things
2021-05-01 16:01:42 -04:00
sammy 6e3f1e1b97
fix: add additional lua import path 2021-05-01 15:56:08 -04:00
sammy c43aab6a60
fix: make appendPath expand ~ to home dir 2021-05-01 15:35:43 -04:00
sammy 9934ba417f
chore: bump to 0.4 2021-05-01 14:57:20 -04:00
sammy a75100d15d
feat: add _user variable
this will probably change to a better global var in the
future, but it's `_user` now.
this provides a simple, guaranteed way of getting the
current user's name
$USER (in?)correctly shows the previous user when
`su` is used, _user will always be root in this case
2021-05-01 14:51:57 -04:00
sammy 60b1b50bb3
feat: add multiline hook (resolves #19) 2021-05-01 14:25:58 -04:00
sammy f00063beaa
chore: bump version 2021-05-01 14:17:33 -04:00
sammy 7f8d8db53e
fix: errors and make login rc run before config 2021-05-01 14:17:14 -04:00
sammy 38f1d62598
feat: make hilbish act like a login shell
when a user logs in with hilbish as the user shell,
or -l/--login is passed
resolves #37
2021-05-01 14:08:42 -04:00
sammy e580112e1b
refactor: use lua.Check<Type> where possible (resolves #40) 2021-05-01 13:42:15 -04:00
sammy d2a44c70c0
chore: remove redundant module renaming 2021-05-01 13:38:01 -04:00
sammy 447775f8c4
chore: bump version 2021-05-01 13:33:05 -04:00
sammy 338b45227c
chore: merge from master 2021-05-01 13:32:09 -04:00
sammy 80029cfff3
feat: make cd builtin work with env variables (resolves #43) 2021-05-01 13:31:51 -04:00
Brandon Wright d653a9c349
fix: newline near contributors imgs (#45) 2021-05-01 12:05:54 -05:00
sammy 9b3f8e818c
style: add space between binary op 2021-05-01 11:55:09 -04:00
sammy 75d7c6acc6
chore: bump version 2021-05-01 10:51:00 -04:00
sammy 96600398b7
fix: dont be interactvive if source is provided
hilbish wont go into an interactive mode if its provided
a lua source file to run, even if -i is passed.
i feel like this makes the most sense.
2021-05-01 10:44:15 -04:00
sammy 88d9f2e21d
chore: bump version 2021-05-01 02:31:49 -04:00
sammy a7d8851de0
fix: make -i false by default and fix cmdflag comparing 2021-05-01 01:50:22 -04:00
sammy 520fdaf728
chore: merge from dev branch 2021-05-01 01:15:19 -04:00
sammy 89fc544545
feat: switch to getopt library and add running lua source files from cli 2021-05-01 01:08:55 -04:00
sammy e7dcbd5a95
feat: add string.split function 2021-05-01 01:08:20 -04:00
sammy 507c8b6ed2
chore: update manifest files 2021-05-01 01:07:55 -04:00
Freddson 777d6ac482
docs: Add zypper to the README (#42) 2021-04-29 10:02:04 -04:00
sammy d7104ec591
refactor(minor): reduce amount of renamed modules to 0 now 2021-04-28 19:22:11 -04:00
sammy e0cf87d272
refactor(minor): reduce the amount of module renaming 2021-04-28 18:57:28 -04:00
sammy a29eddb1bf
style: remove extra spaces at map; dont make them lineup 2021-04-28 18:54:16 -04:00
sammy dc9bd1864c
chore: remove redundant module renaming 2021-04-28 18:52:42 -04:00
sammy d551d0f2ab
style: add spaces between binary ops and rename appendpath function to be camelCase 2021-04-28 18:35:04 -04:00
Devin Singh 345ff65da8
fix: remove appendpath from preload.lua 2021-04-28 17:13:43 -05:00
Devin Singh 786b95c266
feat: appendpath function 2021-04-28 17:09:10 -05:00
Devin Singh 4476a96eec
feat(wip): add appendpath 2021-04-28 16:57:06 -05:00
gokul swaminathan bf11feb48b
fix: makefile login shell file fix (#38)
This fixes the problem where installing kept adding hilbish to
`/etc/shells` even if it was already there.

* fix: makefile login shell file fix

* style: remove extra space in makefile
2021-04-24 19:32:41 -04:00
sammy 926fc96895
docs: update readme to not say its beta 2021-04-24 18:42:39 -04:00
sammy d4ecdd5ea0
feat: -i (--interactive) and -c (--command) flag 2021-04-24 00:12:18 -04:00
sammy 3862d2898c
chore: update manifests 2021-04-24 00:10:51 -04:00
sammy d9c05e485d
style: spacing between binary op 2021-04-23 23:44:59 -04:00
sammy 5d0fecf902
fix: use readline in continue prompt 2021-04-23 23:44:22 -04:00
sammy 935bed3dc6
fix: switch back to readline for the time being 2021-04-23 23:42:34 -04:00
sammy 17e12c8c2a
chore: merge from master, resolve conflicts 2021-04-20 19:31:19 -04:00
sammy bdc8c770e6
fix: aliases for lua commands 2021-04-20 19:26:33 -04:00
sammy 08c56a54ca
style: formatting 2021-04-20 17:52:01 -04:00
sammy 428db24831
style: put all vars in 1 var() 2021-04-20 17:51:12 -04:00
sammy 7b0b06d9bf
fix: dont make continue prompt input include a newline 2021-04-19 22:08:16 -04:00
Devin Singh 94f0ccf9f6
chore: formatting 2021-04-18 21:09:27 -05:00
sammy 050165d7b1
fix: make --login actually a flag 2021-04-18 19:01:55 -04:00
sammy aa5b68ec2b
fix: assign loginshflag to throwaway var 2021-04-18 18:53:22 -04:00
sammy 55c05a9a92
feat: add login flag (todo) 2021-04-18 18:50:18 -04:00