-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_links.sh
More file actions
executable file
·25 lines (19 loc) · 974 Bytes
/
setup_links.sh
File metadata and controls
executable file
·25 lines (19 loc) · 974 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
#!/bin/bash
mkdir -p $HOME/.ssh
chmod go-rwx ssh_config
touch $HOME/.linux_settings/bashrc_local.sh
chmod go-rwx $HOME/.linux_settings/bashrc_local.sh
rm -rf $HOME/.vim
cd $HOME; ln -sf .linux_settings/bash_logout .bash_logout
cd $HOME; ln -sf .linux_settings/bash_profile .bash_profile
cd $HOME; ln -sf .linux_settings/bashrc_common.sh .bashrc
cd $HOME; ln -sf .linux_settings/cshrc_common.csh .cshrc
cd $HOME; ln -sf .linux_settings/gitconfig .gitconfig
cd $HOME; ln -sf .linux_settings/gitexcludes .gitexcludes
cd $HOME; ln -sf .linux_settings/login .login
cd $HOME; ln -sf .linux_settings/logout .logout
cd $HOME; ln -sf .linux_settings/vim .vim
cd $HOME; ln -sf .linux_settings/vimrc .vimrc
cd $HOME/.ssh; ln -sf ../.linux_settings/ssh_config config
cd $HOME; ln -sf .linux_settings/flake8 .flake8
cd $HOME/.linux_settings/vim/bundle; git clone https://github.com/gmarik/Vundle.vim.git