diff --git a/setup.sh b/setup.sh index 47d2628..ac057cc 100755 --- a/setup.sh +++ b/setup.sh @@ -12,6 +12,7 @@ git clone https://github.com/neovim/neovim && \ cd neovim && git checkout stable && \ make CMAKE_BUILD_TYPE=RelWithDebInfo && \ cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb && \ +if [ -d ~/neovim ]; then rm -rf ~/neovim; fi # Install tree sitter cli sudo apt install -y cargo && \ @@ -56,10 +57,12 @@ sudo npm install -g neovim && \ # Add git config if [ ! -f ~/.gitconfig ]; then + cp ~/code_server/gitconfig ~/.gitconfig fi # Add tmux config if [ ! -f ~/.tmux.conf ]; + cp ~/code_server/tmux.conf ~/.tmux.conf then fi