mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-18 00:57:12 +00:00
12 lines
518 B
Bash
Executable File
12 lines
518 B
Bash
Executable File
#!/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
|
|
|
|
cp -r nvim ~/.config
|
|
|
|
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
|
|
nvim +TSUpdate "+MasonInstall stylua rustfmt prettier black clang-format"
|