X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/28f228e3e1798c4959acab5012d8dbfa64927459..237370ee18916ca2fdfac7843977976a4193cc8b:/setup_cli_basics.sh diff --git a/setup_cli_basics.sh b/setup_cli_basics.sh index 42301dc..1633f5f 100755 --- a/setup_cli_basics.sh +++ b/setup_cli_basics.sh @@ -3,7 +3,7 @@ if [ ! -d ~/dotfiles ]; then cd ~; git clone git@github.com:edthedev/dotfiles.git fi -if [ ! -f ~/.bashrc]; then +if [ ! -f ~/.bashrc ]; then echo "************** Setup Bash" ~/dotfiles/setup/bash.sh fi @@ -13,18 +13,18 @@ if [ ! -f ~/.screenrc ]; then ln -s ~/dotfiles/files/screenrc ~/.screenrc fi -if [ -f ~/.vimrc ]; then - echo "************** Link Vimrc" - ln -s ~/dotfiles/files/vimrc ~/.vimrc - echo "************** Configure Git to use Vim" - git config --global core.editor /usr/bin/vim -fi - -if [ -f ~/.gitconfig ]; then +if [ ! -f ~/.gitconfig ]; then echo "************** Configure Git user" git config --global user.email "edward@delaporte.us" git config --global user.name "Edward Delaporte" git config --global pull.ff only + git config --global core.editor /usr/bin/vi +fi + +if [ ! -f ~/.vimrc ]; then + echo "************** Link Vimrc" + ln -s ~/dotfiles/files/vimrc ~/.vimrc + ls -a ~ | grep vim fi if [ ! -f ~/.ssh/id_ed25519 ]; then @@ -33,6 +33,12 @@ if [ ! -f ~/.ssh/id_ed25519 ]; then echo "************** Reminder to setup GitHub key" cat ~/dotfiles/doc/GitHubKey.md - cat ~/.ssh/id_rsa.pub + cat ~/.ssh/id_ed25519.pub fi +echo "************** Status: Symlinks " +ls -la ~ | grep "\->" +echo "************** Status: Git Config" +cat ~/.gitconfig +echo "************** Status: Pubkey " +cat ~/.ssh/id_ed25519.pub \ No newline at end of file