DhavalKapil / luaver

Lua Version Manager - Managing and switching between different versions of Lua, LuaJIT and Luarocks made easy
https://dhavalkapil.com/luaver
MIT License
270 stars 33 forks source link

zsh error #54

Open sourcevault opened 6 years ago

sourcevault commented 6 years ago
 echo "[ -s ~/.luaver/completions/luaver.bash ] && . ~/.luaver/completions/luaver.bash" >> ~/.zshrc
 source ~/.zshrc
~/.luaver/completions/luaver.bash:60: command not found: complete

is there something i can do about it ?

ur4ltz commented 5 years ago

Hi! This is my method installations.

git clone https://github.com/DhavalKapil/luaver ~/.luaver
echo "[ -s ~/.luaver/luaver ] && . ~/.luaver/luaver" >> ~/.zshrc
cp ~/.luaver/completions/_luaver  ~/.zsh/completions/_luaver
kkfd008 commented 3 years ago

for osx

git clone https://github.com/DhavalKapil/luaver ~/.luaver brew install luaver luaver install 5.3.6 luaver use 5.3.6 luaver set-defualut 5.3.6 exit

lua -v

Lua 5.3.6 Copyright (C) 1994-2020 Lua.org, PUC-Rio