From 307dea18815ba4a06a3098edb170d7ad90708815 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 2 Nov 2018 14:38:24 -0700 Subject: Changed stub convention to (foo 1 baz 2) -> foo_1_baz instead of foo_1_baz_2, removed "smext", made some cleanup changes. --- files.moon | 2 ++ 1 file changed, 2 insertions(+) (limited to 'files.moon') diff --git a/files.moon b/files.moon index e0fe02b..738c5f8 100644 --- a/files.moon +++ b/files.moon @@ -104,6 +104,8 @@ Files.walk = (path, flush_cache=false)-> local files if path == 'stdin' or _SPOOFED_FILES[path] files = {path} + elseif path\match("^[~/]") or path\match("^%./") or path\match("^%.%./") + files = browse(path) else for nomsupath in package.nomsupath\gmatch("[^;]+") if files = browse(nomsupath.."/"..path) then break -- cgit v1.2.3