DhavalKapil/luaver

zsh error

sourcevault opened this issue · 2 comments

 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 ?

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

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