Optixal/neovim-init.vim

Can't run .sh file

ThatOneCalculator opened this issue · 2 comments

laptop:~ dk$ /Users/dk/Downloads/neovim-init.vim-master/install.sh
[*] Preparing Neovim config directory ...
[*] App installing Neovim and its dependencies (Python 3 and git), and dependencies for tagbar (exuberant-ctags) ...
Password: {REDACTED}
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/bin/apt" (-1)```

MacOS 1.14

@ThatOneCalculator the install.sh file uses apt get which is not available on macOS , remove these 2 lines from install.sh and you should be good :

sudo apt update
sudo apt install neovim python3 python3-pip git curl exuberant-ctags -y

You should download those packages using homebrew or something similar

wnear commented

There should be some environment checking like checking the OS, early exit if some step fail.
For now I suggest run the command from .sh line by line.