How to use z.lua: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
Created page with "# sudo apt install zlua5.4 # git clone --depth=1 https://github.com/skywind3000/z.lua.git # 添加 eval "$(lua /home/focus/Sources/z.lua/z.lua --init bash enhanced once)""
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
# sudo apt install zlua5.4
<syntaxhighlight lang="bash" line>
# git clone --depth=1 https://github.com/skywind3000/z.lua.git
sudo apt install lua5.4
# 添加
git clone --depth=1 https://github.com/skywind3000/z.lua.git
eval "$(lua /home/focus/Sources/z.lua/z.lua --init bash enhanced once)"
# 以下添加进 .bashrc
eval "$(lua /home/user/somedir/z.lua/z.lua --init bash enhanced once)"
</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)"