Go to file
TorchedSammy 4a4cb3409f
fix: set running to true before throwing exit hook on no input
this fixes an issue with the prompt being kind of a mess when
enter alone is pressed (and hilbish doesn't try to run anything)
2022-03-07 21:01:21 -04:00
.github ci: update version of go-release-action 2022-03-06 15:04:45 -04:00
assets docs: slight refactor of the readme 2021-10-12 16:01:17 -04:00
cmd/docgen feat(docgen): support outputting emmylua sources (closes #91) 2022-02-25 18:00:18 -04:00
docs docs: document hilbish scope hooks (closes #100 - 100th issue!!*) 2022-03-06 12:06:39 -04:00
emmyLuaDocs docs: [ci] generate new docs 2022-03-05 20:13:15 +00:00
gallery docs: slight refactor of the readme 2021-10-12 16:01:17 -04:00
golibs docs(fs): change bool to boolean 2022-02-25 18:17:04 -04:00
libs feat(ansikit): add screenMain and screenAlt functions to switch terminal screen 2022-03-06 14:26:28 -04:00
prelude refactor!: change preload.lua to prelude/init.lua, add guide command 2022-03-06 14:45:06 -04:00
util fix: only add __docProp metatable from SetField function 2021-11-22 19:19:36 -05:00
.gitignore feat: add docgen program, document almost all hilbish functions 2021-10-16 10:21:05 -04:00
.gitmodules fix: add back inspect 2021-10-17 18:51:44 -04:00
.hilbishrc.lua fix: remove newline from prompt 2022-03-06 22:23:38 -04:00
CHANGELOG.md chore: prepare for v1.0.2 release 2022-03-06 21:48:24 -04:00
CONTRIBUTING.md docs: bring contributing guide up to date 2022-02-25 18:22:59 -04:00
LICENSE chore: update license 2022-02-12 16:46:41 -04:00
Makefile build: update makefile 2022-03-06 15:12:10 -04:00
README.md docs: remove readline requirement, use nightly links 2022-03-02 06:58:55 -04:00
aliases.go fix: use a rwmutex for aliases map 2021-12-19 22:37:44 -04:00
api.go fix: dont print types of args in appendPath 2022-03-06 17:19:47 -04:00
complete.go fix: remove duplicate binary suggestions (fixes #105) 2022-03-07 18:56:22 -04:00
exec.go fix: add user input to history instead of hilbish expanded (closes #103) 2022-03-07 19:10:21 -04:00
go.mod chore: update dependencies 2022-03-06 10:07:28 -04:00
go.sum chore: update dependencies 2022-03-06 10:07:28 -04:00
history.go fix: write to bottom of history file instead of at top 2022-03-05 21:26:03 -04:00
lua.go refactor!: change preload.lua to prelude/init.lua, add guide command 2022-03-06 14:45:06 -04:00
main.go fix: set running to true before throwing exit hook on no input 2022-03-07 21:01:21 -04:00
rl.go fix: dont refresh prompt at startup 2022-03-06 17:20:41 -04:00
signal_unix.go fix: only notify ctrl c signal on windows 2022-02-28 16:15:08 -04:00
signal_windows.go fix: only notify ctrl c signal on windows 2022-02-28 16:15:08 -04:00
vars.go chore: prepare for v1.0.2 release 2022-03-06 21:48:24 -04:00
vars_darwin.go refactor!: change preload.lua to prelude/init.lua, add guide command 2022-03-06 14:45:06 -04:00
vars_linux.go refactor!: change preload.lua to prelude/init.lua, add guide command 2022-03-06 14:45:06 -04:00
vars_windows.go refactor!: change preload.lua to prelude/init.lua, add guide command 2022-03-06 14:45:06 -04:00

README.md



🌺 The flower shell. A comfy and nice little shell for Lua users and fans!

GitHub commit activity GitHub commits since latest release (by date) GitHub contributors
help wanted GitHub license Discord

Hilbish is a Unix-y shell which uses Lua for scripting. Things like the prompt, general configuration and such are done with Lua.

For interactive use, it uses a library to run sh which works on all platforms Hilbish can be compiled for. It can also act as a Lua REPL if you want it to be.

Screenshots





Installation

NOTE: Hilbish is currently only officially supported and tested on Linux

Prebuilt binaries

Go here for builds on the master branch.

AUR

AUR maintainer
Arch Linux users can install Hilbish from the AUR with the following command:

yay -S hilbish

AUR maintainer
Or from the latest master commit with:

yay -S hilbish-git

Nixpkgs

Nix/NixOS users can install Hilbish from the central repository, nixpkgs, through the usual ways. If you're new to nix you should probably read up on how to do that here.

Manual Build

Prerequisites

Build

First, clone Hilbish. The recursive is required, as some Lua libraries are submodules.

git clone --recursive https://github.com/Rosettea/Hilbish
cd Hilbish
go get -d ./...

To build, run:

make dev

Or, if you want a stable branch, run these commands:

git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
make build

After you did all that, run sudo make install to install Hilbish globally.

Contributing

Any kind of contributions to Hilbish are welcome! Read CONTRIBUTING.md before getting started.

Thanks to everyone below who's contributed!

Made with contributors-img.

License

Hilbish is licensed under the MIT license.
Images and assets are licensed under CC-BY-SA 4.0