Created
February 19, 2011 03:52
-
-
Save saml/834805 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LUA_HOME="$HOME/opt/lua" | |
export LUA_PATH="$LUA_PATH;./?.lua;$LUA_HOME/luamodules/?.lua" | |
export LUA_CPATH="$LUA_CPATH;./?.so;$LUA_HOME/luamodules/?.so" | |
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/opt/gmp/lib:$LUA_HOME/lib" | |
"$LUA_HOME/bin/lua" -lreadline -lcomplete -lprelude $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reload(lib) | |
package.loaded[lib] = nil | |
return require(lib) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment