-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·33 lines (29 loc) · 959 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /usr/bin/env bash
# Set up the basics (bash, tmux, vim)
rm ~/.bashrc
ln -s $PWD/.bashrc ~/.bashrc
rm ~/.vimrc
# Get vim all set up
ln -s $PWD/.vimrc ~/.vimrc
# Set up syntax files
mkdir -p ~/.vim/after/syntax/
rm ~/.vim/after/syntax/c.vim
rm ~/.vim/after/syntax/python.vim
mkdir -p ~/.vim/after/syntax
ln -s $PWD/.vim/after/syntax/c.vim ~/.vim/after/syntax/c.vim
ln -s $PWD/.vim/after/syntax/python.vim ~/.vim/after/syntax/python.vim
# Set up brogrammer theme
mkdir -p ~/.vim/colors
rm ~/.vim/colors/brogrammer.vim
ln -s $PWD/.vim/colors/brogrammer.vim ~/.vim/colors/brogrammer.vim
# Install vundle
mkdir -p ~/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Set up tmux
rm ~/.tmux.conf
ln -s $PWD/.tmux.conf ~/.tmux.conf
rm ~/.tmux_status
ln -s $PWD/.tmux_status ~/.tmux_status
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
echo "prefix + I to get tmux plugins"