mirror of https://github.com/Hilbis/Hilbish
Merge 667b411b9f
into 4c61c551aa
commit
2ce5539c10
|
@ -30,6 +30,7 @@ hilbish.run('wc -l', {
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix ansi attributes causing issues with text when cut off in greenhouse
|
- Fix ansi attributes causing issues with text when cut off in greenhouse
|
||||||
|
- Fix not compiling on freebsd
|
||||||
|
|
||||||
## [2.2.3] - 2024-04-27
|
## [2.2.3] - 2024-04-27
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build linux darwin
|
// +build unix
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build darwin linux
|
// +build unix
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build darwin linux
|
// +build unix
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
// +build freebsd
|
||||||
|
|
||||||
|
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;'` + freebsdUserPaths
|
||||||
|
freebsdUserPaths = `
|
||||||
|
.. hilbish.userDir.data .. '/hilbish/libs/?/init.lua;'
|
||||||
|
.. hilbish.userDir.data .. '/hilbish/libs/?/?.lua;'
|
||||||
|
.. hilbish.userDir.data .. '/hilbish/libs/?.lua;'
|
||||||
|
.. hilbish.userDir.config .. '/hilbish/?/init.lua;'
|
||||||
|
.. hilbish.userDir.config .. '/hilbish/?/?.lua;'
|
||||||
|
.. hilbish.userDir.config .. '/hilbish/?.lua'`
|
||||||
|
dataDir = "/usr/local/share/hilbish"
|
||||||
|
preloadPath = dataDir + "/nature/init.lua"
|
||||||
|
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
|
||||||
|
defaultConfDir = ""
|
||||||
|
)
|
Loading…
Reference in New Issue