Added setup_vim.sh
This commit is contained in:
21
setup_vim.sh
Executable file
21
setup_vim.sh
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "Installing prerequisites"
|
||||||
|
|
||||||
|
[[ ! -d ~/.vim ]] && mkdir ~/.vim
|
||||||
|
|
||||||
|
[[ ! -d ~/.vim/colors ]] && mkdir ~/.vim/colors
|
||||||
|
|
||||||
|
cd ~/.vim/colors
|
||||||
|
|
||||||
|
git clone https://github.com/catppuccin/vim.git
|
||||||
|
|
||||||
|
cp vim/colors/* .
|
||||||
|
|
||||||
|
rm -rf vim/
|
||||||
|
|
||||||
|
cp ~/.vimrc ~/.vimrc.old
|
||||||
|
|
||||||
|
cp .vimrc ~/.vimrc
|
||||||
Reference in New Issue
Block a user