some logging

master
Raphael 2019-05-13 20:28:35 +02:00 committed by GitHub
parent 3e332bdf1f
commit 8443c67b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -1,11 +1,17 @@
#!/bin/bash
echo "==> running dotfiles install script"
BASE=$HOME/.dotfiles
if [ ! -d "$BASE" ]; then
echo "==> cloning git repository"
git clone git@github.com:sundowndev/dotfiles.git $BASE
else
echo "dotfiles already installed"
echo "==> dotfiles already installed"
echo "==> running git pull"
cd $BASE
git pull
fi
# links
@ -26,3 +32,5 @@ git config --global user.name "sundowndev"
#ln -sf $BASE/vimrc ~/.vimrc
#vim +PlugInstall +qall
echo "==> script executed"