How to use z.lua: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<syntaxhighlight lang="bash" line> | <syntaxhighlight lang="bash" line> | ||
sudo apt install | 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)"