Created
October 17, 2022 07:36
-
-
Save dongyuwei/bcfa623c1de314ec2de0ede11c3eec9a to your computer and use it in GitHub Desktop.
use LUA_INIT to preload inspect.lua, so we can use it in lua.
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
tail ~/.config/fish/config.fish | |
`set -gx LUA_INIT @/Users/yuwdong/.init.lua` | |
cat /Users/yuwdong/.init.lua | |
```lua | |
inspect = require('inspect') | |
ins = inspect | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
luarocks install inspect --local