Skip to content
Permalink
Browse files
Properly edit package.path on the example.rc.lua
  • Loading branch information
Alfredo Palhares committed Mar 4, 2013
1 parent a9fd391 commit 939276d
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1,6 +1,7 @@
-- Coment this out if you dont need to test it this way
local pwd = os.getenv("PWD")
package.path = pwd .. "/init.lua;" .. package.path
-- Remove last dir
local pwd = os.getenv("PWD"):match("(.+)/.-")
package.path = pwd .. "/?.lua;" .. pwd .. "/?/init.lua;" .. package.path
-- Standard awesome library
local tyranic = require("awesome-tyranical")
local gears = require("gears")

0 comments on commit 939276d

Please sign in to comment.