feat: add luarocks config
This commit is contained in:
parent
44bbc91d95
commit
7b5f737001
2 changed files with 7 additions and 0 deletions
3
dot_config/luarocks/config.lua
Normal file
3
dot_config/luarocks/config.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
rocks_trees = {
|
||||
{ name = "user", root = (os_getenv("XDG_DATA_HOME") or (home .. "/.local/share")) .. "/luarocks" },
|
||||
}
|
|
@ -61,3 +61,7 @@ export PATH="$PATH:$GOPATH/bin"
|
|||
### ruby {{{
|
||||
export RBENV_ROOT="$XDG_DATA_HOME/rbenv"
|
||||
#}}}
|
||||
### lua {{{
|
||||
export LUAROCKS_CONFIG="$XDG_CONFIG_HOME/luarocks/config.lua"
|
||||
export PATH="$PATH:$XDG_DATA_HOME/luarocks/bin"
|
||||
#}}}
|
||||
|
|
Loading…
Reference in a new issue