Added tmux and git config support
This commit is contained in:
parent
2754e8c7e9
commit
3c4791ba5e
3
setup.sh
3
setup.sh
@ -12,6 +12,7 @@ git clone https://github.com/neovim/neovim && \
|
|||||||
cd neovim && git checkout stable && \
|
cd neovim && git checkout stable && \
|
||||||
make CMAKE_BUILD_TYPE=RelWithDebInfo && \
|
make CMAKE_BUILD_TYPE=RelWithDebInfo && \
|
||||||
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb && \
|
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb && \
|
||||||
|
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi
|
||||||
|
|
||||||
# Install tree sitter cli
|
# Install tree sitter cli
|
||||||
sudo apt install -y cargo && \
|
sudo apt install -y cargo && \
|
||||||
@ -56,10 +57,12 @@ sudo npm install -g neovim && \
|
|||||||
# Add git config
|
# Add git config
|
||||||
if [ ! -f ~/.gitconfig ];
|
if [ ! -f ~/.gitconfig ];
|
||||||
then
|
then
|
||||||
|
cp ~/code_server/gitconfig ~/.gitconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add tmux config
|
# Add tmux config
|
||||||
if [ ! -f ~/.tmux.conf ];
|
if [ ! -f ~/.tmux.conf ];
|
||||||
|
cp ~/code_server/tmux.conf ~/.tmux.conf
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user