diff options
Diffstat (limited to '')
| -rw-r--r-- | dot_local/lib/sh/luarocks | 3 | ||||
| -rw-r--r-- | dot_local/lib/sh/luarocks.fish | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dot_local/lib/sh/luarocks b/dot_local/lib/sh/luarocks new file mode 100644 index 0000000..f7dcb84 --- /dev/null +++ b/dot_local/lib/sh/luarocks @@ -0,0 +1,3 @@ +. hascmd luarocks || return +export LUA_CPATH=$(luarocks path --lr-cpath) +export LUA_PATH=$(luarocks path --lr-path)";./?.lua" 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" |
