mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-17 16:51:42 +00:00
14 lines
480 B
Bash
Executable File
14 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ ! -d "~/.local/share/nvim/site/pack/packer" ] && 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
|
|
|
|
cd ..
|
|
cp -r neolite ~/.config
|
|
mv ~/.config/neolite ~/.config/nvim
|
|
|
|
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
|
|
nvim +TSUpdate "+MasonInstall stylua rustfmt prettier black clang-format"
|