summaryrefslogtreecommitdiff
path: root/dot_config/private_fish/plug/luarocks.fish
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-06-23 18:12:01 -0400
committerChloe Kudryavtsev <toast@toast.cafe>2021-06-23 18:12:01 -0400
commitb20ed044c2db013370b43c6e98774c9b64264304 (patch)
treee26b6968b09dd2513c74540b805aee30237b3cac /dot_config/private_fish/plug/luarocks.fish
parentuse lua, not lua5.3 (diff)
add luarocks fish plugin
Diffstat (limited to '')
-rw-r--r--dot_config/private_fish/plug/luarocks.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_config/private_fish/plug/luarocks.fish b/dot_config/private_fish/plug/luarocks.fish
new file mode 100644
index 0000000..833503d
--- /dev/null
+++ b/dot_config/private_fish/plug/luarocks.fish
@@ -0,0 +1,3 @@
+type -qf luarocks || exit
+set -x LUA_CPATH (luarocks path --lr-cpath)
+set -x LUA_PATH (luarocks path --lr-path)