feat: add init.fnl to search paths

This commit is contained in:
xeals 2019-01-15 13:41:23 +11:00
parent da0a6ad0b9
commit 54230c55dd
3 changed files with 1 additions and 1 deletions

2
rc.lua
View File

@ -1,4 +1,4 @@
local fennel = require("lib.fennel")
fennel.path = fennel.path .. ";.config/awesome/?.fnl"
fennel.path = fennel.path .. ";.config/awesome/?.fnl;.config/awesome/?/init.fnl"
table.insert(package.loaders or package.searchers, fennel.searcher)
require("cfg") -- .config/awesome/cfg.fnl