lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Dec 17, 2010 at 12:28:36PM +0200, Maxime Chupin wrote:
> But, can I define a LUA_PATH system variable in my .bashrc (for my 
> little functions I will created) ?
> 

Another way: put in your ~/.luarc

    package.path=package.path..';/home/maxime/lua/?'

(assuming that your packages are in /home/maxime/lua) 
and in your ~/.bashrc

    alias lua="lua -i ~/.luarc"

Dirk