]> us-delaporte.pagekite.me Git - dotfiles.git/blob - cli_basics_setup.sh
Add screen to luanti remote invoke
[dotfiles.git] / cli_basics_setup.sh
1 if [ ! -d ~/dotfiles ]; then
2 echo "************** Cloning Dotfiles Directory"
3 cd ~; git clone git@github.com:edthedev/dotfiles.git
4 fi
5
6 if [ ! -f ~/.bashrc ]; then
7 echo "************** Setup Bash"
8 ~/dotfiles/setup/bash.sh
9 fi
10
11 if [ ! -f ~/.screenrc ]; then
12 echo "************** Setup Screen"
13 ln -s ~/dotfiles/files/screenrc ~/.screenrc
14 fi
15
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
22 fi
23
24 if [ ! -f ~/.vimrc ]; then
25 echo "************** Link Vimrc"
26 ln -s ~/dotfiles/files/vimrc ~/.vimrc
27 ls -a ~ | grep vim
28 fi
29
30 if [ ! -f ~/.ssh/id_ed25519 ]; then
31 echo "************** Generate an SSH key"
32 ssh-keygen -t ed25519
33
34 echo "************** Reminder to setup GitHub key"
35 cat ~/dotfiles/doc/GitHubKey.md
36 cat ~/.ssh/id_ed25519.pub
37 fi
38
39 echo "************** Status: Symlinks "
40 ls -la ~ | grep "\->"
41 echo "************** Status: Git Config"
42 cat ~/.gitconfig
43 echo "************** Status: Pubkey "
44 cat ~/.ssh/id_ed25519.pub