[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luamatrix
- From: Dirk Laurie <dpl@...>
- Date: Fri, 17 Dec 2010 13:04:17 +0200
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