mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
modified install script
This commit is contained in:
13
install.sh
13
install.sh
@@ -1,8 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir projects
|
|
||||||
cd projects
|
|
||||||
|
|
||||||
git clone https://github.com/macocianradu/homefull-api.git
|
git clone https://github.com/macocianradu/homefull-api.git
|
||||||
git clone https://github.com/macocianradu/homefull-gui.git
|
git clone https://github.com/macocianradu/homefull-gui.git
|
||||||
git clone https://github.com/macocianradu/setup.git
|
git clone https://github.com/macocianradu/setup.git
|
||||||
@@ -10,6 +7,16 @@ git clone https://github.com/macocianradu/setup.git
|
|||||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
||||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
||||||
|
tar xzf nvim-linux64.tar.gz
|
||||||
|
/usr/
|
||||||
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-arm64.tar.gz
|
||||||
|
tar xzf nvim-macos-arm64.tar.gz
|
||||||
|
./nvim-macos-arm64/bin/nvim
|
||||||
|
fi
|
||||||
|
|
||||||
cd nvim_config
|
cd nvim_config
|
||||||
ln -s .config/nvim ~/.config/nvim
|
ln -s .config/nvim ~/.config/nvim
|
||||||
ln -s .vim/undodir ~/.vim/undodir
|
ln -s .vim/undodir ~/.vim/undodir
|
||||||
|
|||||||
Reference in New Issue
Block a user