mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
fixed linux install
This commit is contained in:
Binary file not shown.
@@ -27,8 +27,11 @@ fi
|
|||||||
echo "----- Downloading NVIM -----"
|
echo "----- Downloading NVIM -----"
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
||||||
tar xzf nvim-linux64.tar.gz
|
sudo rm -rf /opt/nvim
|
||||||
usr/
|
sudo tar -C /opt -xzf nvim-linux64.tar.gz
|
||||||
|
echo 'export PATH="$PATH:/opt/nvim-linux64/bin"' >> ~/.bashrc
|
||||||
|
. ~/.bashrc
|
||||||
|
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
if [ -d "$HOME/Applications/nvim" ]; then
|
if [ -d "$HOME/Applications/nvim" ]; then
|
||||||
echo "[Skipped] NVIM already installed"
|
echo "[Skipped] NVIM already installed"
|
||||||
|
|||||||
Reference in New Issue
Block a user