fixed paths

This commit is contained in:
radumacocian
2024-08-18 20:52:44 +02:00
parent f91c164a03
commit 86fdc331ab
3 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
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 ~/projects/homefull-api
git clone https://github.com/macocianradu/setup.git git clone https://github.com/macocianradu/homefull-gui.git\
~/projects/homefull-gui
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
@@ -13,12 +14,12 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
/usr/ /usr/
elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "darwin"* ]]; then
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-arm64.tar.gz curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-arm64.tar.gz
mkdir ~/Applications/nvim
tar xzf nvim-macos-arm64.tar.gz tar xzf nvim-macos-arm64.tar.gz
~/Applications/nvim/ mv nvim-macos-arm64.tar.gz ~/Applications/nvim/
fi fi
cd nvim_config ln -s ~/projects/setup/.config/nvim ~/.config/nvim
ln -s ~/projects/nvim_config/.config/nvim ~/.config/nvim ln -s ~/projects/setup/.vim/undodir ~/.vim/undodir
ln -s ~/projects/nvim_config/.vim/undodir ~/.vim/undodir
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync' nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'