-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·40 lines (31 loc) · 1.03 KB
/
install.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
34
35
36
37
38
39
40
echo "===Start Install Dots Configs==="
echo "User bash config file: " $1
echo "" >> ~/"$1"
echo "# added by dots installation by eugene" >> ~/"$1"
echo "source ~/.dots/.profile" >> ~/"$1"
BASEDIR=$(dirname "$0")
# vim settings
echo "===Installing vim extensions==="
ln -s ~/.dots/vim_runtime ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
ln -s ~/.dots/vimSetting.vim ~/.dots/vim_runtime/my_configs.vim
# powerline fonts
echo "==Install Powerline fonts==="
cd powerline_fonts
./install.sh
cd ../
# tmux settings
echo "===Linking tmux settings==="
ln -s ~/.dots/tmux_files ~/.tmux
ln -s ~/.dots/tmux_files/.tmux.conf ~
ln -s ~/.dots/tmux_files/.tmux.conf.local ~
# ipython profile
sh ~/.dots/install_pythonenv.sh
echo "===Setting my own git name and email==="
git config --global user.name "Eugene Yang"
git config --global user.email "eugene2528@gmail.com"
echo "===And git settings==="
echo "[include]" >> ~/.gitconfig
echo " path = $BASEDIR/.dots/git.config" >> ~/.gitconfig
echo "===Sorucing the config file==="
source ~/"$1"