mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-18 00:57:12 +00:00
16 lines
597 B
Bash
Executable File
16 lines
597 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
|
|
|
|
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"
|