From c76f1729755743729fd901ee39ff329cef998cf9 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 11 Dec 2016 04:02:36 -0800 Subject: [PATCH] . --- init.lua | 2 ++ pt.lua | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 init.lua diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..e60915d --- /dev/null +++ b/init.lua @@ -0,0 +1,2 @@ +local path = string.gsub(..., "[^.]+$", "") +return require(path.."pt") diff --git a/pt.lua b/pt.lua index 19c7e4c..6fe9ef9 100755 --- a/pt.lua +++ b/pt.lua @@ -1,4 +1,5 @@ -local extra = require 'extra' +local path = string.gsub(..., "[^.]+$", "") +local extra = require(path.."extra") local opairs = extra.opairs local pt = {}