tzachar / compe-tabnine

TabNine source for hrsh7th/nvim-compe
BSD 3-Clause "New" or "Revised" License
52 stars 3 forks source link

install.sh not executable error #23

Closed cronyakatsuki closed 3 years ago

cronyakatsuki commented 3 years ago

While installing using Packer I had an error that told me that install.sh is not an executable.

I fixed that by instead of using use {'tzachar/compe-tabnine', run='./install.sh'} I changed it into use {'tzachar/compe-tabnine', run='chmod +x install.sh; ./install.sh'} and the it all worked. You will probably need to update your README.

tzachar commented 3 years ago

This is probably a local issue with your git or packer config. The install script is set to be executable in git:

git ls-tree HEAD install.sh
100755 blob 6b36b7fb5bf53e55705cafabd81a6aee537fdd12    install.sh

The mode is 755, so the file should be executable. Try cloning the repo by hand and see if the file is executable.

cronyakatsuki commented 3 years ago

it is executable when I clone it with git normally, must be some bug then with packer.