]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - setup.sh
ff7b64cd61b8d01635cf628d3a29495cd3dbde3b
1 if [ ! -d ~
/dotfiles
]; then
2 echo "************** Cloning Dotfiles Directory"
3 cd ~
; git clone git@github.com
:edthedev
/dotfiles.git
6 if [ ! -f ~
/.ssh
/id_rsa
]; then
7 echo "************** Generate an SSH key"
11 if [ ! -f ~
/.screenrc
]; then
12 echo "************** Setup Screen"
13 ln -s ~
/dotfiles
/screenrc ~
/.screenrc
16 if [ ! -f ~
/.vimrc
]; then
17 echo "************** Link Vimrc"
18 ln -s ~
/dotfiles
/vimrc ~
/.vimrc
21 if [ -f ~
/.vimrc
]; then
22 echo "************** Configure Git to use Vim"
23 git config
--global core.editor
/usr
/bin
/vim
26 if [ -f ~
/.gitconfig
]; then
27 echo "************** Configure Git user"
28 git config
--global user.email
"edward@delaporte.us"
29 git config
--global user.name
"Edward Delaporte"
32 echo "************** Reminder to setup GitHub key"
33 echo "https://github.com/settings/keys"
34 echo "vim .git/config -- add: url = git@github.com:edthedev/dotfiles.git"