Rename install to install.sh

This commit is contained in:
Arkaprabha Chakraborty
2023-03-08 15:19:56 +05:30
committed by GitHub
parent 648e0e10ef
commit a8241cf216

15
install.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
[ -d "~/.local/share/nvim/site/pack/packer/start/packer.nvim" ] && rm -rf\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
[ -d "~/.config/nvim" ] && mv ~/.config/nvim ~/.config/nvim-$(date "+%F-%T").bak
mkdir -p ~/.config/nvim && git clone --depth 1 https://github.com/arkorty/neolite.git
~/.config/nvim
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
nvim +TSUpdate "+MasonInstall stylua rustfmt prettier black clang-format"