mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-04 20:53:24 +00:00
20 lines
684 B
Go
20 lines
684 B
Go
//go:build darwin
|
|
|
|
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;'` + macosUserPaths
|
|
macosUserPaths = `
|
|
.. 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"
|
|
defaultConfDir = getenv("XDG_CONFIG_HOME", "~/.config")
|
|
)
|