mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "2cf979401bd28307746278a491f656118e976c81" and "a8ecd44efb9098d031771d258d1c87fe4068ae36" have entirely different histories.
2cf979401b
...
a8ecd44efb
10
README.md
10
README.md
|
@ -26,6 +26,11 @@ to make your life in a terminal easier.
|
|||
<img src="gallery/pillprompt.png">
|
||||
</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
|
||||
**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
|
||||
```
|
||||
|
||||
### 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
|
||||
#### Prerequisites
|
||||
- [Go 1.16+](https://go.dev)
|
||||
|
|
|
@ -39,7 +39,7 @@ func HilbishLoader(L *lua.LState) int {
|
|||
|
||||
xdg := L.NewTable()
|
||||
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)
|
||||
|
||||
util.Document(L, mod, "A miscellaneous sort of \"core\" API for things that relate to the shell itself and others.")
|
||||
|
|
|
@ -4,15 +4,15 @@ package main
|
|||
|
||||
// String vars that are free to be changed at compile time
|
||||
var (
|
||||
requirePaths = commonRequirePaths + `.. ';'
|
||||
.. hilbish.dataDir .. '/libs/?/init.lua;'
|
||||
.. hilbish.dataDir .. '/libs/?/?.lua;'` + linuxUserPaths
|
||||
requirePaths = commonRequirePaths + `
|
||||
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
||||
.. ';/usr/share/hilbish/libs/?/?.lua;'` + linuxUserPaths
|
||||
linuxUserPaths = `
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?/init.lua;'
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?/?.lua;'
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?.lua;'
|
||||
.. hilbish.xdg.config .. '/hilbish/?/init.lua;'
|
||||
.. hilbish.xdg.config .. '/hilbish/?/?.lua;'
|
||||
.. hilbish.xdg.data .. '/hilbish/libs/?.lua'
|
||||
.. hilbish.xdg.config .. '/hilbish/?/init.lua'
|
||||
.. hilbish.xdg.config .. '/hilbish/?/?.lua'
|
||||
.. hilbish.xdg.config .. '/hilbish/?.lua'`
|
||||
dataDir = "/usr/share/hilbish"
|
||||
preloadPath = dataDir + "/preload.lua"
|
||||
|
|
Loading…
Reference in New Issue