]>
us-delaporte.pagekite.me 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 ~
/.bashrc
]; then
7 echo "************** Setup Bash"
8 ~
/dotfiles
/setup
/bash.sh
11 if [ ! -f ~
/.screenrc
]; then
12 echo "************** Setup Screen"
13 ln -s ~
/dotfiles
/files
/screenrc ~
/.screenrc
16 if [ ! -f ~
/.gitconfig
]; then
17 echo "************** Configure Git user"
18 git config
--global user.email
"edward@delaporte.us"
19 git config
--global user.name
"Edward Delaporte"
20 git config
--global pull.ff only
21 git config
--global core.editor
/usr
/bin
/vi
24 if [ ! -f ~
/.vimrc
]; then
25 echo "************** Link Vimrc"
26 ln -s ~
/dotfiles
/files
/vimrc ~
/.vimrc
30 if [ ! -f ~
/.ssh
/id_ed25519
]; then
31 echo "************** Generate an SSH key"
34 echo "************** Reminder to setup GitHub key"
35 cat ~
/dotfiles
/doc
/GitHubKey.md
36 cat ~
/.ssh
/id_ed25519.pub
39 echo "************** Status: Symlinks "
41 echo "************** Status: Git Config"
43 echo "************** Status: Pubkey "
44 cat ~
/.ssh
/id_ed25519.pub