From 9dda3cb3722534e8eae51c7d49ab50728efd2767 Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:17:56 -0400 Subject: [PATCH] feat: add ~/.config/hilbish to require path --- vars.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vars.go b/vars.go index 42bcf96..2397f79 100644 --- a/vars.go +++ b/vars.go @@ -8,7 +8,10 @@ var ( .. ';/usr/share/hilbish/libs/?/?.lua;' .. hilbish.home .. '/.local/share/hilbish/libs/?/init.lua;' .. hilbish.home .. '/.local/share/hilbish/libs/?/?.lua;' - .. hilbish.home .. '/.local/share/hilbish/libs/?.lua'` + .. hilbish.home .. '/.local/share/hilbish/libs/?.lua' + .. hilbish.home .. '/.config/hilbish/?/init.lua' + .. hilbish.home .. '/.config/hilbish/?/?.lua' + .. hilbish.home .. '/.config/hilbish/?.lua'` preloadPath = "/usr/share/hilbish/preload.lua" defaultConfDir = "" // ~ will be substituted for home, path for user's default config sampleConfPath = "/usr/share/hilbish/.hilbishrc.lua" // Path to default/sample config