26 lines
486 B
Bash
Executable File
26 lines
486 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
|
|
# install
|
|
sudo apt-get update
|
|
sudo apt-get install tmux vim exa bat git ripgrep
|
|
|
|
|
|
# install vundle and all packages
|
|
if [ ! -d "$HOME/.vim/bundle/Vundle.vim" ]; then
|
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
else
|
|
echo "Vundle already installed"
|
|
fi
|
|
|
|
vim +'PlugInstall --sync' +qa
|
|
|
|
|
|
# link files
|
|
|
|
ln -s $PWD/.tmux.conf $HOME/
|
|
ln -s $PWD/.vimrc $HOME/
|
|
mkdir -p $HOME/.config/fish/
|
|
ln -s $PWD/config.fish $HOME/.config/fish/
|