From 3c4791ba5e757b8fab2ac6c08f23f449ee0427b6 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Thu, 25 May 2023 21:55:38 +0000 Subject: [PATCH] Added tmux and git config support --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) 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