Compare commits

..

No commits in common. "afa40dd1a13b168abe26b7a42f02795b0f758a6e" and "2e4bea829210fbab97760f57ea54d5b2aa4ae7f7" have entirely different histories.

2 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
<img src="./assets/hilbish-flower.png" width=128><br> <img src="./assets/hilbish-flower.png" width=128><br>
<img src="./assets/hilbish-text.png" width=256><br> <img src="./assets/hilbish-text.png" width=256><br><br>
<blockquote> <blockquote>
🌺 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 users and fans!
</blockquote><br> </blockquote><br>
@ -14,12 +14,9 @@
</p> </p>
</div> </div>
Hilbish is a Unix-y shell which uses Lua for scripting. Things like the prompt, Hilbish is a new, Unix-like shell which uses Lua as its configuration language.
general configuration and such are done with Lua. It's decently fast for interactive use and includes a bunch of utility functions and features
to make your life in a terminal easier.
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 # Screenshots
<div align="center"> <div align="center">
@ -105,7 +102,7 @@ After you did all that, run `sudo make install` to install Hilbish globally.
Any kind of contributions to Hilbish are welcome! Any kind of contributions to Hilbish are welcome!
Read [CONTRIBUTING.md](CONTRIBUTING.md) before getting started. Read [CONTRIBUTING.md](CONTRIBUTING.md) before getting started.
**Thanks to everyone below who's contributed!** ##### Thanks to everyone below who's contributed!
<a href="https://github.com/Hilbis/Hilbish/graphs/contributors"> <a href="https://github.com/Hilbis/Hilbish/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Hilbis/Hilbish" /> <img src="https://contrib.rocks/image?repo=Hilbis/Hilbish" />
</a> </a>
@ -113,5 +110,8 @@ Read [CONTRIBUTING.md](CONTRIBUTING.md) before getting started.
*Made with [contributors-img](https://contrib.rocks).* *Made with [contributors-img](https://contrib.rocks).*
# License # License
Hilbish is licensed under the [MIT license](LICENSE). Hilbish is licensed under the MIT license!
[Images and assets](assets/) are licensed under CC-BY-SA 4.0 Read the [license here](LICENSE) for more info.
Images in the [assets](assets/) folder are under CC-BY-SA 4.0

View File

@ -49,7 +49,7 @@ func hilbishLoader(L *lua.LState) int {
case "linux": case "linux":
userDataDir = getenv("XDG_DATA_HOME", curuser.HomeDir + "/.local/share") userDataDir = getenv("XDG_DATA_HOME", curuser.HomeDir + "/.local/share")
default: default:
userDataDir = filepath.Join(userConfigDir) userDataDir = filepath.Join(userConfigDir, "data")
} }
util.SetField(L, hshuser, "config", lua.LString(userConfigDir), "User's config directory") util.SetField(L, hshuser, "config", lua.LString(userConfigDir), "User's config directory")