From a7e450904ce413217584f46a727d7e8144edb9dd Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Tue, 22 Mar 2022 21:59:34 -0400 Subject: [PATCH] docs: add more info to readme --- README.md | 53 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b60a6ab..4a59fde 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@


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

GitHub commit activity GitHub commits since latest release (by date) @@ -14,12 +14,25 @@

-Hilbish is a Unix-y shell which uses Lua for scripting. Things like the prompt, -general configuration and such are done with Lua. +Hilbish is a extensible shell (framework). It was made to be very customizable +via the Lua programming language. It aims to be easy to use for the casual +people but powerful for those who want to tinker more with their shell, +the thing used to interface with most of the system. -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. +The motivation for choosing Lua was that its simpler and better to use +than old shell script. It's fine for basic interactive shell uses, +but that's the only place Hilbish has shell script; everything else is Lua +and aims to be infinitely configurable. If something isn't, open an issue! + +# Table of Contents +- [Screenshots](#Screenshots) +- [Installation](#Installation) + - [Prebuilt Bins](#Prebuilt-binaries) + - [AUR](#AUR) + - [Nixpkgs](#Nixpkgs) + - [Manual Build](#Manual-Build) +- [Getting Started](#Getting-Started) +- [Contributing](#Contributing) # Screenshots
@@ -54,7 +67,7 @@ If you're new to nix you should probably read up on how to do that [here](https: ### Prerequisites - [Go 1.17+](https://go.dev) -#### Build +### Build First, clone Hilbish. The recursive is required, as some Lua libraries are submodules. ```sh @@ -76,13 +89,27 @@ make build After you did all that, run `sudo make install` to install Hilbish globally. +# Getting Started +At startup, you should see a message which says to run a `guide` command. +This guide is a *very* simple and basic step through text of what Hilish is +and where to find documentation. + +Documentation is primarily viewed via the in shell `doc` command. +Autogenerated function docs and general docs about other things are included +there, so be sure to read it. + +Using Hilbish is the same as using any other Linux shell, with an addition +that you can also run Lua. Hilbish can also act as an enhanced Lua REPL +via `hilbish.runnerMode 'lua'`. To switch back to normal, use +`hilbish.runnerMode 'hybrid'`. + # Contributing -Any kind of contributions to Hilbish are welcome! -Read [CONTRIBUTING.md](CONTRIBUTING.md) before getting started. +Any kind of contributions are welcome! Hilbish is very easy to contribute to. +Read [CONTRIBUTING.md](CONTRIBUTING.md) as a guideline to doing so. **Thanks to everyone below who's contributed!** - - + + *Made with [contributors-img](https://contrib.rocks).*