-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
40 lines (34 loc) · 883 Bytes
/
setup.sh
File metadata and controls
40 lines (34 loc) · 883 Bytes
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
34
35
36
37
38
39
40
# TuSimple Docker Seting up Script
#
# Author:
# Yuanqin Lu
DOT="$(cd "$(dirname "$0")"; pwd)"
zshrc_path="$DOT/.zshrc"
tmux_path="$DOT/.tmux.conf"
# SET UP ZSH
echo 'set up zsh'
cd ~
if [ ! -d ".oh-my-zsh" ]; then
echo 'download oh-my-zsh...'
apt-get install zsh
apt-get install wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
fi
cp $zshrc_path ~/.zshrc
# SET UP VIM
cd ~
echo 'set up VIM'
echo 'download VIM setting...'
git clone https://github.com/lisabug/vim.git ~/.vim
ln -sf ~/.vim/.vimrc ~/.vimrc
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
cd ~/.vim/bundle/YouCompleteMe
apt-get install cmake
apt-get install ctags
./install.py --clang-completer
# SET UP TMUX
echo 'set up tmux'
cd ~
cp $tmux_path ~/.tmux.conf
echo 'finish setting'