summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/luarocks.fish
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
commitcc74c7adb0a5fc4a3b90d3ea43424123f0acde44 (patch)
tree01c5f4be74233b585da451a580fee237d1aba21c /dot_local/share/sh/luarocks.fish
parentgit: difftastic is optional, add local.config (diff)
sh: move from ~/.local/lib/sh to ~/.local/share/sh
It's debatable but ultimately it *is* arch-independent and ro.
Diffstat (limited to 'dot_local/share/sh/luarocks.fish')
-rw-r--r--dot_local/share/sh/luarocks.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_local/share/sh/luarocks.fish b/dot_local/share/sh/luarocks.fish
new file mode 100644
index 0000000..c6b92f5
--- /dev/null
+++ b/dot_local/share/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"