mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
fixed paths
This commit is contained in:
Binary file not shown.
BIN
.vim/undodir/%home%rmaco%projects%nvim_config%install.sh
Normal file
BIN
.vim/undodir/%home%rmaco%projects%nvim_config%install.sh
Normal file
Binary file not shown.
15
install.sh
15
install.sh
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user