summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh/luarocks.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_local/lib/sh/luarocks.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_local/lib/sh/luarocks.fish b/dot_local/lib/sh/luarocks.fish
new file mode 100644
index 0000000..c6b92f5
--- /dev/null
+++ b/dot_local/lib/sh/luarocks.fish
@@ -0,0 +1,3 @@
+. hascmd luarocks || return
+set -x LUA_CPATH (luarocks path --lr-cpath)
+set -x LUA_PATH (luarocks path --lr-path)";./?.lua"