]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - setup_cli_basics.sh
547cb90d23d3cf63dee5e428684d38759151f783
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
/files
/screenrc ~
/.screenrc
11 if [ -f ~
/.vimrc
]; then
12 echo "************** Link Vimrc"
13 ln -s ~
/dotfiles
/files
/vimrc ~
/.vimrc
14 echo "************** Configure Git to use Vim"
15 git config
--global core.editor
/usr
/bin
/vim
18 if [ -f ~
/.gitconfig
]; then
19 echo "************** Configure Git user"
20 git config
--global user.email
"edward@delaporte.us"
21 git config
--global user.name
"Edward Delaporte"
22 git config
--global pull.ff only
25 if [ ! -f ~
/.ssh
/id_ed25519
]; then
26 echo "************** Generate an SSH key"
29 echo "************** Reminder to setup GitHub key"