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