From 97d7cf54efa496bedad01b4c4ca75164b5dda336 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 1 Apr 2020 15:01:24 +0200 Subject: [PATCH] Add Lua paths to profile --- profile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/profile b/profile index 6840351..530a92d 100644 --- a/profile +++ b/profile @@ -5,3 +5,25 @@ export EDITOR=vim export LESSCHARSET=utf-8 export MANPATH="$HOME/.local/share/man:$(manpath)" + +export LUA_PATH_5_3="$HOME/.luarocks/share/lua/5.3/?.lua;"\ + "$HOME/.luarocks/share/lua/5.3/?/init.lua;"\ + "lua_modules/share/lua/5.3/?.lua;"\ + "lua_modules/share/lua/5.3/?/init.lua;"\ + ";" +export LUA_CPATH_5_3="$HOME/.luarocks/lib/lua/5.3/?.so;"\ + "$HOME/.luarocks/lib/lua/5.3/?/init.so;"\ + "lua_modules/lib/lua/5.3/?.so;"\ + "lua_modules/lib/lua/5.3/?/init.so;"\ + ";" + +export LUA_PATH_5_1="$HOME/.luarocks/share/lua/5.1/?.lua;"\ + "$HOME/.luarocks/share/lua/5.1/?/init.lua;"\ + "lua_modules/share/lua/5.1/?.lua;"\ + "lua_modules/share/lua/5.1/?/init.lua;"\ + ";" +export LUA_CPATH_5_1="$HOME/.luarocks/lib/lua/5.1/?.so;"\ + "$HOME/.luarocks/lib/lua/5.1/?/init.so;"\ + "lua_modules/lib/lua/5.1/?.so;"\ + "lua_modules/lib/lua/5.1/?/init.so;"\ + ";"