How to use z.lua: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
sudo apt install lua5.4 | sudo apt install lua5.4 | ||
git clone --depth=1 https://github.com/skywind3000/z.lua.git | git clone --depth=1 https://github.com/skywind3000/z.lua.git | ||
# | # 以下添加进 .bashrc | ||
eval "$(lua /home/user/somedir/z.lua/z.lua --init bash enhanced once)" | eval "$(lua /home/user/somedir/z.lua/z.lua --init bash enhanced once)" | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 23:00, 30 April 2025
sudo apt install lua5.4
git clone --depth=1 https://github.com/skywind3000/z.lua.git
# 以下添加进 .bashrc
eval "$(lua /home/user/somedir/z.lua/z.lua --init bash enhanced once)"