some logging
parent
3e332bdf1f
commit
8443c67b2c
10
install.sh
10
install.sh
|
@ -1,11 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "==> running dotfiles install script"
|
||||||
|
|
||||||
BASE=$HOME/.dotfiles
|
BASE=$HOME/.dotfiles
|
||||||
|
|
||||||
if [ ! -d "$BASE" ]; then
|
if [ ! -d "$BASE" ]; then
|
||||||
|
echo "==> cloning git repository"
|
||||||
git clone git@github.com:sundowndev/dotfiles.git $BASE
|
git clone git@github.com:sundowndev/dotfiles.git $BASE
|
||||||
else
|
else
|
||||||
echo "dotfiles already installed"
|
echo "==> dotfiles already installed"
|
||||||
|
echo "==> running git pull"
|
||||||
|
cd $BASE
|
||||||
|
git pull
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# links
|
# links
|
||||||
|
@ -26,3 +32,5 @@ git config --global user.name "sundowndev"
|
||||||
#ln -sf $BASE/vimrc ~/.vimrc
|
#ln -sf $BASE/vimrc ~/.vimrc
|
||||||
|
|
||||||
#vim +PlugInstall +qall
|
#vim +PlugInstall +qall
|
||||||
|
|
||||||
|
echo "==> script executed"
|
||||||
|
|
Loading…
Reference in New Issue