Compare commits

..

No commits in common. "2cf979401bd28307746278a491f656118e976c81" and "a8ecd44efb9098d031771d258d1c87fe4068ae36" have entirely different histories.

3 changed files with 12 additions and 12 deletions

View File

@ -26,6 +26,11 @@ to make your life in a terminal easier.
<img src="gallery/pillprompt.png"> <img src="gallery/pillprompt.png">
</div> </div>
# Links
- **[Documentation](https://github.com/Hilbis/Hilbish/wiki)**
- **[Gallery](https://github.com/Hilbis/Hilbish/discussions/36)** - See
more screenshots of Hilbish in action
# Installation # Installation
**NOTE:** Hilbish is currently only officially supported and tested on Linux **NOTE:** Hilbish is currently only officially supported and tested on Linux
@ -53,11 +58,6 @@ Or from the latest `master` commit with:
yay -S hilbish-git 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](https://nixos.wiki/wiki/Cheatsheet).
### Manual Build ### Manual Build
#### Prerequisites #### Prerequisites
- [Go 1.16+](https://go.dev) - [Go 1.16+](https://go.dev)

View File

@ -39,7 +39,7 @@ func HilbishLoader(L *lua.LState) int {
xdg := L.NewTable() xdg := L.NewTable()
L.SetField(xdg, "config", lua.LString(confDir)) L.SetField(xdg, "config", lua.LString(confDir))
L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share"))) L.SetField(xdg, "data", lua.LString(getenv("XDG_DATA_HOME", homedir + "/.local/share/")))
L.SetField(mod, "xdg", xdg) L.SetField(mod, "xdg", xdg)
util.Document(L, mod, "A miscellaneous sort of \"core\" API for things that relate to the shell itself and others.") util.Document(L, mod, "A miscellaneous sort of \"core\" API for things that relate to the shell itself and others.")

View File

@ -4,15 +4,15 @@ package main
// String vars that are free to be changed at compile time // String vars that are free to be changed at compile time
var ( var (
requirePaths = commonRequirePaths + `.. ';' requirePaths = commonRequirePaths + `
.. hilbish.dataDir .. '/libs/?/init.lua;' .. ';/usr/share/hilbish/libs/?/init.lua;'
.. hilbish.dataDir .. '/libs/?/?.lua;'` + linuxUserPaths .. ';/usr/share/hilbish/libs/?/?.lua;'` + linuxUserPaths
linuxUserPaths = ` linuxUserPaths = `
.. hilbish.xdg.data .. '/hilbish/libs/?/init.lua;' .. hilbish.xdg.data .. '/hilbish/libs/?/init.lua;'
.. hilbish.xdg.data .. '/hilbish/libs/?/?.lua;' .. hilbish.xdg.data .. '/hilbish/libs/?/?.lua;'
.. hilbish.xdg.data .. '/hilbish/libs/?.lua;' .. hilbish.xdg.data .. '/hilbish/libs/?.lua'
.. hilbish.xdg.config .. '/hilbish/?/init.lua;' .. hilbish.xdg.config .. '/hilbish/?/init.lua'
.. hilbish.xdg.config .. '/hilbish/?/?.lua;' .. hilbish.xdg.config .. '/hilbish/?/?.lua'
.. hilbish.xdg.config .. '/hilbish/?.lua'` .. hilbish.xdg.config .. '/hilbish/?.lua'`
dataDir = "/usr/share/hilbish" dataDir = "/usr/share/hilbish"
preloadPath = dataDir + "/preload.lua" preloadPath = dataDir + "/preload.lua"